You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a card that's doing everything I want it to do except change the colour of the text. Can anyone say where I'm going wrong and/or what is missing please?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a card that's doing everything I want it to do except change the colour of the text. Can anyone say where I'm going wrong and/or what is missing please?
type: custom:mushroom-chips-card
chips:
content: '{{ states(''sensor.wiser_lts_temperature_dining_room'') }} °C Dining room'
icon: >-
{% if is_state('climate.wiser_dining_room', 'hvac_action') == 'heating' %}
mdi:fire {% else %} mdi:fire-off {% endif %}
icon_color: >-
{% if is_state('climate.wiser_dining_room', 'hvac_action') == 'heating' %}
red {% else %} green {% endif %}
card_mod:
style: |
ha-card {
color: red;
}
Beta Was this translation helpful? Give feedback.
All reactions