Compare commits
2 Commits
2eba16f2e7
...
c6301b9f76
| Author | SHA1 | Date | |
|---|---|---|---|
| c6301b9f76 | |||
| b8839bac3a |
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user