…
it is very complicated, does anyone know how I cann combine the mushroom mod with the ha_card mod? I can only use one of these mods.
type: custom:mushroom-template-card
primary: '{{ ''online'' if states(entity) == ''on'' else ''offline'' }}'
icon: '{{"mdi:wifi" if states(entity)=="on" else "mdi:wifi-off"}}'
entity: binary_sensor.cupra_born_car_is_online
multiline_secondary: false
layout: vertical
icon_color: '{{ ''green'' if states(entity) == ''on'' else ''red'' }}'
fill_container: false
card_mod:
style: |-
ha-card {
{% if
is_state('binary_sensor.cupra_born_car_is_online','on') %}
--card-primary-color:
{%else%}
--card-primary-color:#7E7E7E;
{% endif %}
} mushroom-shape-icon$: >
.shape {
--icon-symbol-size: 21px;
--icon-size: 100px;
}