Files
fresh-home/automations/people/person_extended_away.yaml
T
2025-10-10 20:24:52 -04:00

52 lines
1.1 KiB
YAML

alias: Person Extended Away
id: automation_person_extended_away
mode: queued
trigger:
- platform: state
entity_id: input_select.clint_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.emmett_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.bridget_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.kristy_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.marshall_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.tess_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.ebin_status_dropdown
to: "Away"
for:
hours: 24
- platform: state
entity_id: input_select.guest_status_dropdown
to: "Away"
for:
hours: 24
action:
- action: input_select.select_option
data_template:
entity_id: >
{{ trigger.entity_id }}
option: Extended Away