I’ve added some basic software lockout functionality to my light switches (to break the loop of my son flicking the lights on and off).
Currently I’m just exposing this as a switch named “Switch Disable” on the device and that works fine.
What I’m wondering is, is there anyway I can meaningfully have the device present this association to Home Assistant - i.e. by a device class or a label or something?
The desire is for their to be an attached bit of a metadata (other then the name) which I could then detect with scripting to build a dashboard of interlocks and their status automatically.