Z-WAVE lights switching off from web or via rules moves back and forward

Was trying to fight off the condition where rules tied up to light would fire. Than i have noticed that if i switch off the light from the web interface - the switch goes to off position. But than moves on-off once again. Now i know why my rules dobule fire. Any solution for this?
Lights based on fibaro dimmer2

It happens under a second. But still HASS doesn’t catch this state change and so considers in automation rules that light is on

Could you be seeing this issue?

A recent PR (hopefully) fixes this, but I don’t think the fix is available in an update yet.

Not sure. As it switches of. Tracks the state. But in the frontend - ONLY when switching off. After the switch off only the switch in front end just jumps once again on and off,
And this gets passed to automation rules as well