I have a LEDVANCE Classic A 60 bulb connected to a traditional light switch. The integration with HASS is through the zigbee2mqtt interface. Everything is working as expected. I now would like to get a message when somebody turned the traditional light switch to off, so that the HASS commands cannot work anymore (No communication to HASS due to missing power on the bulb). Somewhere I have read, that it can be done through testing the state for ‘unavailable/available’. But I only can test states only for brightness,… etc, but not for available or unavailable.
How can this testing be done?
Thanks for any advice.
1 post - 1 participant