From 9e1909e690fd6b62516814358a3c9d9ad422eb04 Mon Sep 17 00:00:00 2001 From: Pierre Eisenbrandt Date: Sat, 13 Dec 2025 14:42:51 +0100 Subject: [PATCH] fix target temp --- Climate/bosch_bth-ra_control_dev.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Climate/bosch_bth-ra_control_dev.yaml b/Climate/bosch_bth-ra_control_dev.yaml index 0cd57a2..f6ba67f 100644 --- a/Climate/bosch_bth-ra_control_dev.yaml +++ b/Climate/bosch_bth-ra_control_dev.yaml @@ -88,7 +88,7 @@ blueprint: - domain: alarm_control_panel away_temperature: name: Abwesenheitstemperatur - description: Temperatur die eingestellt wird, wenn der Alarm im Abwesendmodus ist (Default = 16°C) + description: Temperatur die eingestellt wird, wenn der Alarm im Abwesendmodus ist (Default = 18°C) default: 18 selector: number: @@ -139,10 +139,12 @@ variables: {% endfor %} {{ ns.current_temperature }} target_temperature: > - {% if alarm_control_panel is not none and alarm_control_panel is defined and is_state(alarm_control_panel, 'armed_away') %} + {% if alarm_control_panel and is_state(alarm_control_panel, 'armed_away') %} {{ away_temperature }} + {% elif scheduled_temperature is not none %} + {{ scheduled_temperature }} {% else %} - {{ scheduled_temperature | default(away_temperature) }} + {{ away_temperature }} {% endif %} triggers: