mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
24 lines
491 B
YAML
24 lines
491 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: "on"
|
|
- condition: state
|
|
entity_id: person.kristy
|
|
state: "home"
|
|
action:
|
|
- action: input_boolean.turn_on
|
|
entity_id: input_boolean.ebin_home
|