That behavior is typically associated with this: no feedback from the device.
Home Assistant transmitted an off
command to the zwave light. It expected to receive a timely reply from the light that its status is now off
. However it didn’t get the expected reply so it moved the switch (in the UI) back to the on
position.
The challenge is to determine why the zwave light isn’t replying with its status.