From c3daab46cb63a4abdaf638443c4dfe910e45ab31 Mon Sep 17 00:00:00 2001 From: Pierre Eisenbrandt Date: Sun, 7 Dec 2025 17:51:05 +0100 Subject: [PATCH] only set scheduled temperatur if available --- Climate/bosch_bth-ra_control_dev.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Climate/bosch_bth-ra_control_dev.yaml b/Climate/bosch_bth-ra_control_dev.yaml index e0bf4c3..13ae201 100644 --- a/Climate/bosch_bth-ra_control_dev.yaml +++ b/Climate/bosch_bth-ra_control_dev.yaml @@ -159,11 +159,16 @@ actions: - service: switch.turn_off target: entity_id: "{{ window_detection_entity }}" - - action: climate.set_temperature - target: - entity_id: !input trv - data: - temperature: "{{ scheduled_temperature | float }}" + - if: + - condition: template + value_template: > + {{ scheduled_temperature is not none }} + then: + - action: climate.set_temperature + target: + entity_id: !input trv + data: + temperature: "{{ scheduled_temperature | float }}" alias: Setze Fenster auf geschlossen # temperature sensor sync - choose: