Compare commits

..

2 Commits

View File

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