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 - binary_sensor.back_door
from: 'off' from: 'off'
condition: condition:
- condition: state condition: and
entity_id: input_boolean.audible_notifications conditions:
state: 'on' - condition: state
- condition: state entity_id: input_boolean.audible_notifications
entity_id: input_boolean.guest_mode state: 'on'
state: 'off' - 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: action:
- service: script.door_chime - service: script.door_chime
initial_state: true initial_state: true