diff --git a/packages/security/security.yaml b/packages/security/security.yaml index ddf6428..1b8cf26 100644 --- a/packages/security/security.yaml +++ b/packages/security/security.yaml @@ -170,6 +170,12 @@ rest_command: url: !secret frigate_doorbell_event_url method: post +# ----------------------------------------------------------------------------- +# Doorbell Chime Command + doorbell_chime: + url: !secret doorbell_chime_url + method: post + # ----------------------------------------------------------------------------- # Security Scripts script: @@ -629,12 +635,7 @@ automation: entity_id: binary_sensor.doorbell_alarm_local to: 'on' action: - - action: media_player.play_media - data: - media_content_id: media-source://media_source/local/S005-corsica-doorbell.mp3 - media_content_type: audio - target: - entity_id: media_player.tablet_lr + - action: rest_command.doorbell_chime - alias: Notify on Doorbell Button trigger: