mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-22 09:01:22 +00:00
10 lines
218 B
YAML
10 lines
218 B
YAML
|
- alias: 'Carlo has left the building'
|
||
|
trigger:
|
||
|
- platform: state
|
||
|
entity_id: device_tracker.carlo
|
||
|
state: not_home
|
||
|
|
||
|
action:
|
||
|
- service: light.turn_off
|
||
|
entity_id: light.office_lamp
|