set scheduled temp when closing window
This commit is contained in:
@@ -140,6 +140,9 @@ actions:
|
||||
- condition: trigger
|
||||
id:
|
||||
- FENSTER_OPEN
|
||||
- condition: state
|
||||
entity_id: "{{ window_detection_entity }}"
|
||||
state: "off"
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
@@ -149,10 +152,18 @@ actions:
|
||||
- condition: trigger
|
||||
id:
|
||||
- FENSTER_CLOSED
|
||||
- condition: state
|
||||
entity_id: "{{ window_detection_entity }}"
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: "{{ window_detection_entity }}"
|
||||
- action: climate.set_temperature
|
||||
target:
|
||||
entity_id: !input trv
|
||||
data:
|
||||
temperature: "{{ scheduled_temperature | float }}"
|
||||
alias: Setze Fenster auf geschlossen
|
||||
# temperature sensor sync
|
||||
- choose:
|
||||
|
||||
Reference in New Issue
Block a user