Zarox666
(Zarox666)
1
I am building a sensor based on my Router reporting Link State via Webhook.
Is there really not device_class “link” with the states “UP” and “DOWN” for binary sensors?
I found this one
but could find no indication that it was implemented.
Any Ideas how to solve this without having to resort to ugly “1”/“0” or “On”/“Off”?
123
(Taras)
2
-
There’s no device_class
that reports UP/DOWN.
-
Currently, there’s no support for custom device classes.
-
I suggest you consider using connectivity
value for device_class
. It reports Connected/Disconnected.
Reference
Binary Sensor - Device Class
1 Like