only set scheduled temperatur if available
This commit is contained in:
@@ -159,11 +159,16 @@ actions:
|
|||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: "{{ window_detection_entity }}"
|
entity_id: "{{ window_detection_entity }}"
|
||||||
- action: climate.set_temperature
|
- if:
|
||||||
target:
|
- condition: template
|
||||||
entity_id: !input trv
|
value_template: >
|
||||||
data:
|
{{ scheduled_temperature is not none }}
|
||||||
temperature: "{{ scheduled_temperature | float }}"
|
then:
|
||||||
|
- action: climate.set_temperature
|
||||||
|
target:
|
||||||
|
entity_id: !input trv
|
||||||
|
data:
|
||||||
|
temperature: "{{ scheduled_temperature | float }}"
|
||||||
alias: Setze Fenster auf geschlossen
|
alias: Setze Fenster auf geschlossen
|
||||||
# temperature sensor sync
|
# temperature sensor sync
|
||||||
- choose:
|
- choose:
|
||||||
|
|||||||
Reference in New Issue
Block a user