About this deal
If you think your Shelly devices are working correctly and don’t want to change your network/configuration, you can ignore the repair issue. Still, you must know you are giving up the best experience of using first-generation Shelly devices with Home Assistant. Next, you’ll want to set up the way the Shelly reacts to buttons. I’m using a two-button switch, so I set it up accordingly in Settings->Button Type:
For my installation, I went with fig. 1 and this is my rudimentary wiring diagram for the Shelly Dimmer 2 and my Leviton switch:Using the homeassistant.update_entity service for an entity belonging to a battery-powered device is not possible because most of the time these devices are sleeping (are offline). Before proceeding with the wiring make sure you’ve identified the line, neutral, and load wires, and then turn the power to the circuit off at the breaker for safety. Hopefully, you can see from the diagram that I:
You can choose the option Disable Wi-Fi status light., which will disable the status light on the bottom of the Shelly Dimmer 2. FIRMWARE UPDATE Connected Line/Hot to an L input on the Shelly (I don’t think it matters which of the three L inputs you use, but I chose the middle one). Also, the Shelly Dimmer 2 is really small. Even smaller than the Shelly 1 relay. Shelly Dimmer 2 next to a quarter Shelly Dimmer 2 installationThe configuration of the MQTT component contains information about the credentials and prefix used and the protection and notifications settings of the MQTT connection. Property Detached: (Button and Switch) - Set Shelly device to be in Detached switch mode - switch is separated from the relays. The first will allow specifying a temperature, the second instead of a percentage of the valve position. Your timezone and location will be autodetected, but you can manually change them from this setting by choosing a timezone from the drop-down menu and typing in your latitude and longitude. There is also a button Auto detect location, which will make the device automatically detect the location once again if it failed the previous time. DEVICE NAME