I have some zigbee lights with are switched on/off with “regular” wall switches. HA is used to control them once they are powered on.
When they are powered off, HA continues to report their latest status known. They never become unavailable.
Looking at zigbee2mqtt, I see that the availability parameter is disabled:
Changing the global availability option can be set from the z2m front end under settings->availability.
You will not get immediate notification when the switch is flipped. The default “simple” availability marks mains devices unavailable after they’ve been silent for 10 minutes and do not respond to a ping. Choose advanced if you want to change the default timeout.
I’m also enabling the availability on my zigbee devices and I see the message being published to the topics, but I don’t see any sensor in home assistant itself.
Anyone any idea what I’m missing here?
Or aren’t there any sensors created to reflect the availability status?
So no sensor is available to just check the state, right?
Because I was thinking of creating an automation for detecting ‘offline’ states… So I won’t be able to do it with a specific sensor (unless I make it myself of course).
What do I need in the config for home asisstant for the legacy settings?