binary_sensor with device_class: for unavailable entities always "on-icon" is used #15882
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Every binary sensor with a specified device_class has "on-icon" & "off-icon".
But when an entity is
unavailable
- then currently always "on-icon" is used.In many cases it is confusing, for instance:
Imho for
unavailable
entities the "off-icon" should be used.From other side, the currently implemented logics may be considered as "this entity is unavailable, so it is of grey color; and we use an icon demonstrating a purpose of this entity" (i.e. icon is not related to the current state, it is just to demonstrate this particular
device_class
).Beta Was this translation helpful? Give feedback.
All reactions