parent
8502131241
commit
0aaa63dcc1
@ -1,12 +0,0 @@
|
||||
######################################################################
|
||||
## 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
|
||||
Loading…
Reference in new issue