do not set target temp when windows is open

This commit was merged in pull request #3.
This commit is contained in:
2026-01-15 14:21:03 +01:00
parent b8839bac3a
commit c6301b9f76

View File

@@ -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: