Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103335

How UI knows device class state name?

$
0
0

I have a binary sensor set to device_class: window
The entity card shows its state as open and close which is expected.
But Dev Tools shows the state as on and off
From this point, it’s not surprising that 3rd party cards like custom:button card show on/off too.

Is anyone able to explain this inconsistency, or has every single card secure this conversion on its own?

thanks in advance

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 103335

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>