Thank you for your try but it doesnt help. I tried some variations and the only change was this:
Here is the complete code:
type: vertical-stack
cards:
- type: custom:mushroom-template-card
primary: Sauna
secondary: >-
{{ states('sensor.sauna_status') }} | {{
states('sensor.temperatur_sauna_banksensor') }}°C
tap_action:
action: navigate
navigation_path: /lovelace-garten/sauna
icon: mdi:hydraulic-oil-temperature
icon_color: |
{% if is_state('timer.restlauftzeit_sauna', 'active') -%}
orange
{%- elif is_state('timer.restlauftzeit_sauna', 'idle') -%}
blue
{%- else -%}
grey
{%- endif %}
badge_icon: |-
{% if is_state('switch.sauna_heizung_stufe_1', 'on') -%}
mdi:radiator
{%- elif is_state('switch.sauna_heizung_stufe_1', 'off') -%}
mdi:radiator-off
{%- else -%}
mdi:radiator-off
{%- endif %}
badge_color: |-
{% if is_state('switch.sauna_heizung_stufe_1', 'on') -%}
red
{%- endif %}
card_mod:
style: |
:host {
height: 7px;
}
ha-card {
margin-right: 20px;
}
- type: custom:mushroom-chips-card
alignment: end
style: |
ha-card {
--chip-box-shadow: 1px 1px 1px 1px lightgrey;
--chip-background: none;
--chip-spacing: 10px;
--chip-padding: 20px;
}
chips:
- type: action
tap_action:
action: call-service
service: timer.start
data: {}
target:
entity_id: timer.restlauftzeit_sauna
icon: mdi:play
- type: action
tap_action:
action: call-service
service: timer.finish
data: {}
target:
entity_id: timer.restlauftzeit_sauna
icon: mdi:stop
- type: custom:gap-card
height: 10
Greets
Sebastian