Changes
New devices added
Support for new click-events
This release support new click events from Shelly. Values of click_type: single, double, triple, long, short-long, long-short. The last event will also be stored as attributes for the switch entity. To get the events the switch sensor must be enabled.
{
"event_type": "shellyforhass.click",
"data": {
"entity_id": "binary_sensor.shelly_xxxxxxxxxxxxx_switch",
"click_type": "single"
},
"origin": "LOCAL",
"time_fired": "2020-07-19T17:35:33.688248+00:00",
"context": {
"id": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"parent_id": null,
"user_id": null
}
}
New attributes
New sensors
New languages
- French
- Italian
MQTT light server
A light MQTT server is added to help when CoAP/mDns not working. This is the case when have different WLAN or router/AP not route multi cast.
Enable the MQTT server and setup the MQTT setting in the Shelly you will have instant update of the Shelly in HA. You must NOT enable the "Custom MQTT prefix". The rest of the setting can be the default.
Setting
mqtt_port specify what port the internal mini MQTT server should listen to, default disabled. The setting is available in the config.yaml and HA GUI.
shelly:
mqtt_port: 9955
Other
- Fix bug so update_firmware is executed asynchronously
- Fix problem with switch going back to the current value before update to correct #296
- Bug show the wrong temp when have Shelly using Farenheight #287
- Add cache for Shelly cloud so it works with naming if Shelly cloud not is available
- Create a light entity when a device configured as light in the Shelly app #155
- Using the new entity classes in HA (backward compatible) #350 #306
- Fix entry_id overwritten after a restart of HA when named to "_power" #257