Hi
Is it possible to set two different colors?
What I mean:
The word Fan big room color Black or other
The word use followed by the value in red.
entities:
- entity: switch.sonoff_10004b49a1
name: Fan big room
style: |
ha-card {
color: #006400
}
icon: mdi:fan
type: custom:multiple-entity-row
toggle: true
state_color: true
entities:
- entity: sensor.use_fan_big_room_w
unit: W
name: USE
card_mod:
style: |
:host {
color:
{% if states('sensor.zuzycie_g_duzy') <= '0' %}
#006400
{% else %}
#ff1c1c
{% endif %}
}
Currently I have yes, but it changes the color of the two words.
Adding it doesn’t change anything:
style: |
ha-card {
color: #006400
}