I’m trying to set up some Z-wave dimmers from Namrom, and I have been able to include them using the old Z-Wave integration (the deprecated one.) I can control the lights, but strangely the state of the lights in the Home Assistant GUI only gets updated when I use the physical switch. If I turn the lights on using the switch, then turn it off from HA, the lights go off but are still registered as on in HA. If I dim with the physical switch the level changes in HA, but if I dim in HA the light changes, but the dim level pops back to the same level in HA.
It seems to me that the switch reports it’s “physical state” even after changing the state through HA/Z-wave. Is there some configuration I’m missing here, or is this a weakness with the dimmer itself?
See refresh_value
& delay
. You probably need to set the first to true
and the second to the amount of time it takes the dimmer to fully change state (or a little bit more.)
1 Like
I have used the GUI to configure the integration, but can’t seem to find these options. Would I have to change to yaml config?
I set my Z-Wave stuff up a long time ago, and a lot has changed in the UI. For reference, this is what I have in configuration.yaml:
zwave:
polling_interval: 10000
device_config: !include zwave_device_config.yaml
And this is what I have in zwave_device_config.yaml for one of my dimmers:
light.master_bedroom_lamp:
ignored: false
polling_intensity: 0
refresh_value: true
delay: 4
I’m pretty sure the UI used to have an option for setting the polling intensity (although I can’t find it anymore), but I don’t think it ever had options for setting the refresh values. I think you have to do this via YAML.
1 Like
I tried adding this configuration with no luck, and the zwave configuration in GUI kept its old value of 1 for polling intensity (the only one of these showing). I don’t understand where the configuration set in the GUI is though, as there was nothing in configuration.yaml before I added it.
Tried fiddling a bit with developer tools.
When the switch is “physically on”, the following behaviour is observed:
- Developer tools show brightness, and if I change brightness from developer tools both the light itself and the light card in HA is updated
- If I change the brightness through the light card in HA, the light itself changes but the card pops back to its old value, and the brightness in developer tools stays the same
- If I set state to “off” in developer tools, nothing changes but the value of state
- If I change brightness with the physical switch, both brightness in developer tools and the HA light card is updated
- I can turn the light on and off with the lights card, but it shows as on in the light card no matter the state, and nothing changes in developer tools
When the light is “physically off”, I get this behaviour:
- Both the brightness and on/off will change when changed from the lights card, but the card state is not updated, shows as off with brightness 0
- In developer tools, brightness is no longer an attribute. If I reintroduce it manually, different values will change the brightness level in the lights card (even though it is shown as off), but nothing happens with the lights.