-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensor state name incorrect #13
Comments
I would love some input on how to most easily infer this from whatever HA leaves around in the exposed global objects if anyone know. I think I've seen some other cards have a hard coded map for device class state mappings but that is something I would not like to maintain. I hope there is a clean and good solution to get this information. |
There's lots of nice stuff in the If you wish to take a look at it outside of a card e.g. in the chrome console, you can find it at |
Thanks. I already had localisation support for some other stuff, but good to get some info on how the key looked for this type of value 👍 |
🎉 This issue has been resolved in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The card does not show the correct state name for sensors.
See this example of a binary sensor that has the window device class:
I expected the card to show "Closed", instead of "off".
The text was updated successfully, but these errors were encountered: