Compare commits

..

2 Commits

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:
@@ -459,6 +459,8 @@ actions:
- service: switch.turn_off
target:
entity_id: "{{ window_detection_entity }}"
- delay:
minutes: 1
- if:
- condition: template
value_template: >
@@ -553,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: