Hi
Until now i have used card-mod to control background color of a mushroom template chip like this:
card_mod:
style: |
ha-card {
{% if states('switch.vvb') == 'on' %}
--chip-background: rgba(0, 255, 0, 0.2);
{%- else -%}
--chip-background: rgba(255, 0, 0, 0.2);
{%- endif %}
}
But this wont work after updating to card-mod 3…
Anyone have a solution to this?