I have been trying to change the icon color of my cover card based upon its state for several days now but with no success. I have read the articles and need some assistance if indeed this is even possible for the cover card. Below is one of the latest (not working) attempts:
- type: custom:mushroom-cover-card
name: South Upstairs Garage Bay Door
show_buttons_control: true
entity: cover.smart_garage_door_opener_door
icon: mdi:garage-variant
icon_color: "{{ 'red' if is_state('cover.smart_garage_door_opener_door', 'closed') else 'green' }}"
fill_container: true
show_position_control: false
show_tilt_position_control: false
3 posts - 3 participants