only set scheduled temperatur if available
This commit is contained in:
@@ -159,6 +159,11 @@ actions:
|
|||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: "{{ window_detection_entity }}"
|
entity_id: "{{ window_detection_entity }}"
|
||||||
|
- if:
|
||||||
|
- condition: template
|
||||||
|
value_template: >
|
||||||
|
{{ scheduled_temperature is not none }}
|
||||||
|
then:
|
||||||
- action: climate.set_temperature
|
- action: climate.set_temperature
|
||||||
target:
|
target:
|
||||||
entity_id: !input trv
|
entity_id: !input trv
|
||||||
|
|||||||
Reference in New Issue
Block a user