Replies: 1 comment
-
Use this reference post: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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