Update coming/leaving routines

This commit is contained in:
2021-04-04 13:32:55 +03:00
parent 7d0bbe5d0a
commit 2b842ffad4
5 changed files with 38 additions and 33 deletions
@@ -20,3 +20,25 @@ automation:
entity_id: input_select.hallway_dashboard_mode
data:
option: "Home"
- alias: Hallway tablet · Leaving · Goodbye after door opened
trigger:
platform: state
entity_id: input_select.hallway_dashboard_mode
to: "Leaving"
action:
- service: script.say
data:
message: "Waiting for front door to open. Have a great time!"
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.front_door
to: "on"
timeout:
minutes: 5
continue_on_timeout: false
- service: script.say
data:
message: "Goodbye!"
- service: input_boolean.turn_off
entity_id: input_boolean.georgi_home