Automate dashboard mode

This commit is contained in:
2020-12-08 00:05:12 +02:00
parent 38c5541c6e
commit 414abe742c
3 changed files with 20 additions and 0 deletions
@@ -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