mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-13 19:54:42 +00:00
Automate dashboard mode
This commit is contained in:
@@ -7,3 +7,18 @@ input_select:
|
||||
- "Leaving"
|
||||
- "Coming Home"
|
||||
|
||||
|
||||
|
||||
automation:
|
||||
- alias: "Hallway tablet · Set to home after 10 minutes"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_select.hallway_dashboard_mode
|
||||
to: "Coming Home"
|
||||
for:
|
||||
minutes: 10
|
||||
action:
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.hallway_dashboard_mode
|
||||
data:
|
||||
option: "Home"
|
||||
|
||||
@@ -18,6 +18,10 @@ script:
|
||||
brightness_pct: 100
|
||||
- service: script.security_camera_off
|
||||
- service: script.routine_coming_home_after_sunset
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.hallway_dashboard_mode
|
||||
data:
|
||||
option: "Coming Home"
|
||||
- service: script.toshiba_ac_on_cool_if_hot
|
||||
- service: script.sonos_join_bedroom
|
||||
- service: script.routine_coming_home_welcome_home
|
||||
|
||||
Reference in New Issue
Block a user