I’m trying to add my Zwave devices to HA by using ZwaveToMqtt. That works fine for most of the basics devices, for example switches. I encounter some difficulties with the (Fibaro) dimmer devices.
I used the following help page:
Problem1:
-The mqtt light component required a command_topic but the Fibaro device has no switch entity. I must control the light by posting the value to the Level topic. Now I used a not existing topic in the config section but probably there’s a better solution to this. The problem is that HA displays an On/off switch in the top right but I can’t use that because of the not existing topic.
Problem 2:
-When I use the bar to set the level to the dimmer the state of the dimmer is very strange. Most of the steps are good. For example 50% level displays an orange bulb, 100% a yellow bulb. But when I set the level to 0% the state goes to On. The bulb become yellow, and I see that ON is posted to the command topic (that doesn’t exist really). So HA displays an ON state but the bulb is off. Link to screen capture
The ‘payload_on’ and ‘payload_off’ ensures that HA not set ON of OFF but a Level value to that command topic. This is the output when I control the On/off of the dimmer device in HA:
If you turn the switch on and off from the physical switch, does it show in the HA UI?
Currently mine doesn’t update and still shows off in the UI when I turn the light on from the physical switch. Maybe the solution is to get that to update so HA will see an On/Off state.
Maybe set the payload of 0 to be off and anything 1 or higher to show as on OFF in the UI.