State Color INSTEAD of Icon Color? #178
-
|
Thanks so much for creating this amazing card! It's definitely going to improve my dashboard. Quick question though, is there a way to change the color of a STATE instead of an ICON? Example, I would like to change the color of the state of my temperature sensors in the info_entities area... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
You could obtain your goal with styles : https://github.com/marcokreeft87/room-card/wiki/Configuration#templating |
Beta Was this translation helpful? Give feedback.
-
|
Hi, looking for something similar, but I want to check the state of another entity to change the color, what should I use instaed of "entity.state"? Thanks for your help! Edit: if someone is looking for the some, here's how I did it: |
Beta Was this translation helpful? Give feedback.
-
|
It is not working with single symbols... entities:
At the moment the icon is darkblue if deactivated and lightblue if activated. How can I change the two colors? |
Beta Was this translation helpful? Give feedback.
-
|
I got it. I works now with this code: entities:
|
Beta Was this translation helpful? Give feedback.

You could obtain your goal with styles : https://github.com/marcokreeft87/room-card/wiki/Configuration#templating