diff --git a/Climate/bosch_bth-ra_control_dev.yaml b/Climate/bosch_bth-ra_control_dev.yaml index 44c49ec..a7cd2e6 100644 --- a/Climate/bosch_bth-ra_control_dev.yaml +++ b/Climate/bosch_bth-ra_control_dev.yaml @@ -140,6 +140,9 @@ actions: - condition: trigger id: - FENSTER_OPEN + - condition: state + entity_id: "{{ window_detection_entity }}" + state: "off" sequence: - service: switch.turn_on target: @@ -149,10 +152,18 @@ actions: - condition: trigger id: - FENSTER_CLOSED + - condition: state + entity_id: "{{ window_detection_entity }}" + state: "on" sequence: - service: switch.turn_off target: entity_id: "{{ window_detection_entity }}" + - action: climate.set_temperature + target: + entity_id: !input trv + data: + temperature: "{{ scheduled_temperature | float }}" alias: Setze Fenster auf geschlossen # temperature sensor sync - choose: