mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-04-11 07:09:19 +00:00
Preventing door chime from interrupting voice annoucnements
This commit is contained in:
parent
56f5a3b687
commit
dd064b1446
@ -129,12 +129,22 @@ automation:
|
||||
- binary_sensor.back_door
|
||||
from: 'off'
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.audible_notifications
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user