mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
17 lines
355 B
YAML
17 lines
355 B
YAML
alias: 'Marshall Away'
|
|
id: automation_marshall_away
|
|
mode: restart
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: device_tracker.nmap_tracker_fe_cf_82_b2_22_e0
|
|
to: 'not_home'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.marshall_home
|
|
state: 'on'
|
|
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.marshall_home |