Cooldown home after leaving work
This commit is contained in:
parent
b656b92a98
commit
7d7cbe8ddd
@ -40,7 +40,6 @@
|
||||
- service: climate.turn_on
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
data: {}
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 25
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user