1
0

Cooldown home after leaving work

This commit is contained in:
Przemek Grondek 2022-08-19 20:29:03 +02:00
parent b656b92a98
commit 7d7cbe8ddd
2 changed files with 24 additions and 1 deletions

View File

@ -40,7 +40,6 @@
- service: climate.turn_on
target:
entity_id: climate.ac
data: {}
- service: climate.set_temperature
data:
temperature: 25

View File

@ -114,3 +114,27 @@
entity_id: light.office_light_up
mode: single
- id: work-cool-down-home
alias: '[Work] Cool down home after leaving work'
mode: single
trigger:
- platform: zone
entity_id: person.przemek
zone: zone.work
event: leave
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: sensor.ble_temperature_computer_cave_sensor
above: "23"
action:
- service: climate.turn_on
target:
entity_id: climate.ac
- service: climate.set_temperature
data:
temperature: 25
hvac_mode: cool
target:
entity_id: climate.ac