Change the color of a sensor entity's value based on the value #11293
Unanswered
timkoers
asked this question in
Other feature requests
Replies: 0 comments
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.
-
The request
I think it is useful it the user can provide a mapping on which colors the value text should get, based on the actual value. So you can more easily see if a sensor's value is worrying or not.
The alternatives
I do not have an alternative, I think it could be made possible using ui mods or something but I don't feel like installing mods.
Additional information
I think it should be done here
https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/cards/hui-entity-card.ts#L229
Beta Was this translation helpful? Give feedback.
All reactions