mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
28 lines
633 B
YAML
28 lines
633 B
YAML
alias: Adults Away
|
|
id: automation_adults_away
|
|
mode: restart
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id:
|
|
- input_boolean.clint_home
|
|
- input_boolean.kristy_home
|
|
- input_boolean.guest_home
|
|
to: 'off'
|
|
condition:
|
|
# All away
|
|
- condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.clint_home
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: input_boolean.kristy_home
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: input_boolean.guest_home
|
|
state: 'off'
|
|
action:
|
|
- service: input_boolean.turn_on
|
|
entity_id: input_boolean.adults_away
|