(EDIT: the topic was renamed from “WTH The “flash” effect on ZHA lights leaves them on instead of returning to previous state” to “ WTH the ‘flash: short’ behavior is inconsistent between integrations”)
I have some Zigbee lights (from Philips Hue and from IKEA Tradfri) paired either to Philips Hue bridge or to HA through ZHA.
When I use the flash: short
(I’ve never tried with long
) parameter of light.turn_on, the lights paired with the hue bridge seem to return back to their previous state (on or off). However, the lights paired with ZHA will always be left ON after blinking. WTH?
Also, I think the real-world light state (it’s on and emitting light) gets out-of-sync with the software HA state. (i.e. I think HA still thinks the light is off right after blinking, while it’s illuminating its surroundings. I’m not totally sure about this, though.
I wish I could help you more, but I don’t have much time to investigate it myself, and I’m writing this from my memory.
Semi-related thread, but still different enough: WTH is so difficult to make a light blink for a couple of seconds?