Preventing door chime from interrupting voice annoucnements

This commit is contained in:
Jeffrey Stone 2019-12-09 08:26:46 -05:00
parent 56f5a3b687
commit dd064b1446
1 changed files with 16 additions and 6 deletions

View File

@ -129,12 +129,22 @@ automation:
- binary_sensor.back_door
from: 'off'
condition:
condition: and
conditions:
- condition: state
entity_id: input_boolean.audible_notifications
state: 'on'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
- condition: or
conditions:
- condition: state
entity_id: media_player.theater
state: 'idle'
- condition: state
entity_id: media_player.theater
state: 'off'
action:
- service: script.door_chime
initial_state: true