You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am curious if there is a way to set the background_color based on the entity state when colorize is set to true. i.e. If state = on, backround_color = current light color, if state = off, background_color is default theme color. I realize this can be set using card_mod with a static color, but I want it to change based on the color of the light but more opaque
Right now I can do it with card mod only if colorize is set to off and use container styling applied to the background.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am curious if there is a way to set the background_color based on the entity state when colorize is set to true. i.e. If state = on, backround_color = current light color, if state = off, background_color is default theme color. I realize this can be set using card_mod with a static color, but I want it to change based on the color of the light but more opaque
Right now I can do it with card mod only if colorize is set to off and use container styling applied to the background.
Beta Was this translation helpful? Give feedback.
All reactions