Moving the door chime script to its rightful place
This commit is contained in:
parent
cc18f773ae
commit
76c2c1d78e
|
@ -603,6 +603,25 @@ automation:
|
||||||
service: input_boolean.turn_off
|
service: input_boolean.turn_off
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
door_chime:
|
||||||
|
sequence:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.audible_notifications
|
||||||
|
state: 'on'
|
||||||
|
- service: media_player.turn_on
|
||||||
|
entity_id: media_player.ha_speaker
|
||||||
|
- service: media_player.volume_set
|
||||||
|
data_template:
|
||||||
|
entity_id: media_player.ha_speaker
|
||||||
|
volume_level: .5
|
||||||
|
- service: media_player.play_media
|
||||||
|
entity_id: media_player.ha_speaker
|
||||||
|
data:
|
||||||
|
media_content_id: /media/sounds/door_open.wav
|
||||||
|
media_content_type: "music"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lockdown_issue:
|
lockdown_issue:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
|
Loading…
Reference in New Issue