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

26 lines
572 B
YAML

alias: "Ebin Home"
id: automation_ebin_home
mode: restart
trigger:
- platform: state
entity_id:
- binary_sensor.ebin_home
to: "on"
- platform: time_pattern
minutes: "/5"
condition:
- condition: and
conditions:
- condition: state
entity_id: binary_sensor.have_custody
state: "off"
- condition: state
entity_id: person.kristy
state: "home"
action:
- action: input_boolean.turn_off
entity_id: input_boolean.ebin_travelling
- action: input_boolean.turn_on
entity_id: input_boolean.ebin_home