I am using Home Assistant as my zwave hub and have several red series dimmers (LZW31-SN) around the house. I have one dimmer at the top of my stairs with an automation in HA that turns off all the downstairs lights when I double-click the the off button. This has been working great but being a tinkerer I couldn’t help but notice that the light connected the the dimmer at the top of the stairs is usually already off when I want to turn off all the downstairs lights. So I edited the automation so that:
- When the off button is pressed once
- If the dimmer is off
- Then turn off the downstairs lights
So in theory if the dimmer is on, pressing off should only turn off the dimmer and not execute the automation. However, in practice, if the dimmer is on and I press the off button once, HA sees the dimmer as off, returns true for the “device off” condition, and executes the automation to turn off the downstairs lights.
I have tested similar automations on other red series dimmers in my house where they turn off other devices when the off button is pressed once only if the dimmer itself is already off and they work as expected. The only difference is that the problematic switch in question is wired in a 3-way with an aux switch and has Aeotec Bypass because it does not have a neutral wire. Could that be the reason why HA sees the dimmer as off when in fact it was on when the automation was triggered?