Basement echo dot do not disturb mode tweaks #148

This commit is contained in:
2023-09-25 12:34:09 -04:00
parent f68afd4594
commit 3f7a7b5fef
2 changed files with 19 additions and 1 deletions

View File

@ -123,7 +123,6 @@ automation:
- service: switch.turn_off - service: switch.turn_off
target: target:
entity_id: entity_id:
- switch.basement_echo_dot_do_not_disturb_switch
- switch.living_room_echo_dot_do_not_disturb_switch - switch.living_room_echo_dot_do_not_disturb_switch
- service: script.volume_reset - service: script.volume_reset

View File

@ -803,6 +803,25 @@ automation:
target: target:
entity_id: light.front_porch_light entity_id: light.front_porch_light
- id: 6017b580-44bc-48f2-adfe-52540eb9c1e2
alias: Echo Dot Room Presence
description: This is mostly so that if I go into the basement before everybody wakes up, it unmutes the echo dot
mode: restart
trigger:
- platform: state
entity_id: binary_sensor.basement_occupied
from: 'off'
to: 'on'
id: basement-occupied
condition:
- condition: state
entity_id: binary_sensor.people_sleeping
state: 'on'
action:
- service: switch.turn_off
target:
entity_id: switch.basement_echo_dot_do_not_disturb_switch
script: script:
family_is_away: family_is_away:
alias: Family Is Away alias: Family Is Away