Hello!
I would like to change the color of the button icons in the dashboard?
Is it also possible if the entity (input_boolean.markise) is on that the button “Markise raus” turns green and if the entity is gray?
Here is the code from my card.
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: tile
entity: input_boolean.markise_auto
show_entity_picture: false
vertical: true
hide_state: false
state_content: state
tap_action:
action: none
icon_tap_action:
action: toggle
color: green
name: Markise Auto
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.markise_raus
show_state: false
icon_height: 30px
hold_action:
action: none
name: Markise raus
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: input_button.markise_rein
show_state: false
icon_height: 30px
hold_action:
action: none
name: Markise rein
I hope someone can help me