This makes my washing machine icon yellow if it’s running and the default if it’s not.
However the icons on my light entities from the Philips Hue integration are automatically dimmed according to the dim % of the bulb. I would like the brightness on these to be at 100% as long as the bulb is turned on, regardless of dim %.
I tried the following code without any success. It seems that the Hue config itself is overriding my customization?
Using customizer_ui is great and all… …but shouldn’t something as basic as changing the icon color or entity text color etc based on state be built in into Home assistant?
I don’t want to install customizer that sometimes hangs my HA, just to have some unique icon colors here and there. I like how you can configure it in customize_global file if you have customizer_ui, if that can be built in that would be amazing
Well looks like we got “state_color” in latest reslease. …but you can’t apply it globally or overide the color. Would be great if it can be added to customize_glob.yaml and overide color variable. So “true” can be default color but you can also add a hex/rgb value for different color
From what I can tell it doesn’t. It just some js that replaces color so it should continue working when states UI is removed. It is rather buggy though so would be great if we didn’t have to use it
I’m a little bit confused at the moment…
Is there a way with V107+ to set an icon color in an entity card individualy, depending on it’s state (e.g. a switch/sensor becomes green when active/above a value, another switch/sensor becomes yellow when active/above a value)
Thank you very much. This is working.
Just one issue. It is not updating if the value changes,i.e. the color is not adapted continously.
After reloading the page, the color is adapted top the corresponding value.Is there a way to make it updating?
Now it is updating. Don’t know what i have done. I restarted and refreshed (CTRL + F5) a few times before the last post.
Anyway.
I’m happy and thanks again for the help