icon: |-
{% if is_state("switch.garage_door", 'on') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}
entity: switch.garage_door
icon_color: |-
{% if is_state("switch.garage_door", 'off') %}
grey
{% else %}
orange
{% endif %}
double_tap_action:
action: none
hold_action:
action: none
tap_action:
action: toggle
layout: vertical
primary_info: none
secondary_info: name
name: Garage
Good day gents and ladies,
I want to find out why is my icon not appearing with the following code(Icond should change depending on state)
type: custom:mushroom-entity-card
card_mod:
style: |
ha-card{
box-shadow: none;
}