diff --git a/Climate/bosch_bth-ra_control.yaml b/Climate/bosch_bth-ra_control.yaml index 9e3757c..0a31687 100644 --- a/Climate/bosch_bth-ra_control.yaml +++ b/Climate/bosch_bth-ra_control.yaml @@ -405,7 +405,7 @@ actions: - if: - condition: template value_template: > - {{ is_valid_temperature and is_temperature_change_needed }} + {{ is_valid_temperature and is_temperature_change_needed and is_state(window_detection_entity, 'off') }} then: - service: climate.set_temperature target: @@ -555,7 +555,7 @@ actions: - if: - condition: template value_template: > - {{ is_valid_temperature and is_temperature_change_needed }} + {{ is_valid_temperature and is_temperature_change_needed and is_state(window_detection_entity, 'off') }} then: - service: climate.set_temperature target: