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

Mushroom chips card doesn't change colour

$
0
0

I’m trying to change the color of this chip cards but it doesn’t work:

type: custom:mushroom-chips-card
chips:
  - type: entity
    entity: sensor.m2007j22g_battery_level
    use_entity_picture: true
    icon_color: "{{ 'green' if states('sensor.m2007j22g_battery_level') > '20' else 'red' }}"

Where is the issue?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105514

Trending Articles



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