Since a few weeks the state of my Hue/Zigbee Lights won’t update in HomeAssistant. For example a shelf lamp has it’S own line switch. Sometimes we switch it off and on by this hardware switch. The light turns on but the state stays off in Home assistant. If I read the state on the Deconz VNC Interface it shows on=true.
Updating the state to “unavailable” when the power is off depends on how long Deconz waits to decide the device has dropped off the network. You can configure this time in ZHA, but I don’t remember if you can for Deconz.
It should. I’ve found this sometimes takes between 1 and 60 seconds to show up, and sometimes bulbs lose their network connection and have to be re-added. But that is just with my IKEA bulbs and ZHA, so I don’t know if it is a general thing.