I have recently added a z-wave fan switch (GE Enbrighten 55258) to my z-wave network. It has a weird bug that none of my other z-wave lights/switches (14 others in total) have: when I turn it on from Home Assistant it will toggle on, then off, then back on in a very short time (see attached recording). This happens every time, from both the web interface and from my Android phone.
I have tried removing and re-adding as well as healing the z-wave network. Neither has fixed it.
This isn’t a bug, this is normal behavior with devices that take a bit to turn on. Basically, the device doesn’t instantly report that it’s on when you turn it on. The UI will show that throughout the ‘turn on process’. Basically this is what’s happening:
You turn on the device.
Home assistant reacts and assumes the device is on.
Home assistant asks the device what it’s state is.
The device replies “I’m off”.
Home assistant reacts and shows the device as off.
A second or so passes, the fan reaches it’s speed.
The device tells home assistant “hey, I’m on now.”
Just make it a button in the UI instead of using the toggle. It’s a byproduct of the toggle graphic in the UI. If you actually watch the state, it does not turn on when you turn it on.
So if you use a button or something else to turn it on instead of an entities card, it looks normal. That’s what I do.
Actually, Z-Wave JS made that problem worse. It has a refresh delay of 5 seconds when you turn a switch on. Even if the ramp rate is really fast, the switches that have these problems won’t update state. With OZW, the refresh was sent without a delay, so fast ramp rates would solve it.
Odd, all my dimmers that had this problem actually show the proper % as it ramps up. Before in OZW, it wouldn’t show the ramp up rate, just jump to 100%.
So what am I remembering then? IIRC, there was a fix in ZwaveJS that properly showed ramp ups that fixed all jasco dimmers. Sometime around… feb → may 2021.
I think you’re referring to the case where you set a brightness value. The driver reports a fake update when it sees this. Although, there’s no “ramping” there, it jumps to the programmed value.
This case is when you “turn on” the switch, it has an indeterminate level value. It requires a refresh for switches like GE, that don’t report state on their own. The level remains “off” until that refresh occurs 5 seconds later.
I don’t think that was it. What ever I’m thinking of is working in HA atm. was working the last time I looked… 8 months ago probably.
It’s possible. I actually just looked at the UI and the behavior has changed. Before it would ramp up and you could see the percentage in the UI. Now it just straight hops to the value. I guess I’ve been out of the loop on this one for a while.