mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
21 lines
442 B
YAML
21 lines
442 B
YAML
alias: "Emmett Home"
|
|
id: automation_emmett_home
|
|
mode: restart
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.emmett_home
|
|
to: "on"
|
|
- platform: time_pattern
|
|
minutes: "/5"
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.emmett_home
|
|
state: "off"
|
|
- condition: state
|
|
entity_id: binary_sensor.emmett_home
|
|
state: "on"
|
|
action:
|
|
- action: input_boolean.turn_on
|
|
entity_id: input_boolean.emmett_home
|