mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
27 lines
574 B
YAML
27 lines
574 B
YAML
alias: Kids Away
|
|
id: automation_kids_away
|
|
mode: restart
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_boolean.emmett_home
|
|
- input_boolean.bridget_home
|
|
- input_boolean.ebin_home
|
|
to: "off"
|
|
- platform: state
|
|
entity_id: binary_sensor.kids_at_home
|
|
to: "off"
|
|
condition:
|
|
- condition: state
|
|
entity_id:
|
|
- input_boolean.emmett_home
|
|
- input_boolean.bridget_home
|
|
- input_boolean.ebin_home
|
|
- binary_sensor.kids_at_home
|
|
state: "off"
|
|
|
|
action:
|
|
- action: input_boolean.turn_on
|
|
entity_id: input_boolean.kids_away
|