Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 109599

Change icon color in mushroom-cover-card

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 109599

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>