Dear all,
I would like to change the border color of the icon in my “mushroom chips card”.
The idea is to change between red and green when I will be “not home” or “at home”.
Someone can help me to put the right string to produce this kind of effect?
Here you are the actual code:
type: custom:mushroom-chips-card
chips:
- type: entity
entity: device_tracker.iphone_di_anna_4
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
name: Anna
content_info: name
icon: mdi:home-automation
icon_color: pink
use_entity_picture: true
- type: entity
entity: device_tracker.iphone_marco
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
name: Marco
content_info: name
icon_color: blue
icon: mdi:home-automation
use_entity_picture: true
alignment: center