I’m running into a strange issue with my Home Assistant setup and would really appreciate some help.
Some of my light entities – specifically those coming from Shelly and Govee integrations – are not working correctly. Here’s what’s happening:
• When I turn the light on (either using the physical switch or in the HA UI), it immediately turns off again.
• This behavior only occurs while Home Assistant is running.
• If I stop Home Assistant completely, the lights behave normally – they can be turned on and stay on.
• I’ve disabled all automations, so nothing should be turning them off via logic.
• I’ve also tried a fresh configuration and a full HA restart, but no change.
• It feels like Home Assistant is sending some sort of “off” command right after I turn the lights on.
Any ideas on what to look for or how to debug this would be greatly appreciated. Thanks in advance!
After a reboot, the issue disappeared for now, but I suspect it will come back soon.
In the logbook, I can see that the light is turned on by action XY, and then almost immediately turned off again by the same action. So it doesn’t look like any automation or external trigger is turning it off — it seems like the same action is responsible for both turning it on and off.
Does anyone have an idea what could be causing this or how I could dig deeper to debug it?
Something is turning it back off. What action/service are you using?
I also experience this, in random and weird ways with zigbee lights. I cant track down what is causing the lights to turn off, randomly, but only after the devices receive an ‘on/toggle’ command.