mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-28 17:09:32 +00:00
Massive Migration! #292
This commit is contained in:
12
automation/carlo_left.yaml
Executable file
12
automation/carlo_left.yaml
Executable file
@@ -0,0 +1,12 @@
|
||||
######################################################################
|
||||
## Turn off my Office light whenever I leave the house.
|
||||
######################################################################
|
||||
- alias: 'Carlo has left the building'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: device_tracker.carlo
|
||||
to: not_home
|
||||
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: light.office_lamp
|
Reference in New Issue
Block a user