Icon color
#193
Replies: 1 comment 1 reply
-
That's a good question. What format is You might be able to do this with template cards. Something like: type: 'custom:config-template-card'
variables:
LIGHT_COLOR: states['hue_color_floor_1'].attributes['rgb_color']
entities:
- light.hue_color_floor_1
- timer.your_timer
card:
type: custom:timer-bar-card
entity: timer.your_timer
mushroom:
icon_color: "${LIGHT_COLOR}" # needs to be in #rrggbb format |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there a way to set the icon color based on the actual light color (from the entity) in Mushroom?
Example :
mushroom: icon_color: light.hue_color_floor_1.rgb_color
Beta Was this translation helpful? Give feedback.
All reactions