Hi,
I have just moved from Deconz to Zigbee2Mqtt and have an issue that use to work. I have automations that turn off lights in rooms if they have been left on. Eg. If the toilet light is on for over 30 mins it switches off. So, when the next person goes into the toilet they physically switch off the light and back on again. Unfortunately Home Assistanant does not register that the light is on, it simply thinks it is off still. Is there a way around this?