mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
input_select:
|
||||
hallway_dashboard_mode:
|
||||
name: Hallway dashboard mode
|
||||
icon: mdi:tablet-dashboard
|
||||
options:
|
||||
- "Home"
|
||||
- "Leaving"
|
||||
- "Coming Home"
|
||||
|
||||
automation:
|
||||
- alias: "Hallway tablet · Set to home after 10 minutes"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: binary_sensor.someone_home
|
||||
to: "on"
|
||||
for:
|
||||
minutes: 10
|
||||
action:
|
||||
- service: input_select.select_option
|
||||
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"
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: input_boolean.guest_bedroom
|
||||
state: "off"
|
||||
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!"
|
||||
# TODO: add conditions
|
||||
# - service: input_boolean.turn_off
|
||||
# entity_id: input_boolean.georgi_home
|
||||
Reference in New Issue
Block a user