do not set target temp when windows is open
This commit was merged in pull request #3.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user