feat: Add Doorbell Chime REST Command
This commit is contained in:
@@ -170,6 +170,12 @@ rest_command:
|
|||||||
url: !secret frigate_doorbell_event_url
|
url: !secret frigate_doorbell_event_url
|
||||||
method: post
|
method: post
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Doorbell Chime Command
|
||||||
|
doorbell_chime:
|
||||||
|
url: !secret doorbell_chime_url
|
||||||
|
method: post
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Security Scripts
|
# Security Scripts
|
||||||
script:
|
script:
|
||||||
@@ -629,12 +635,7 @@ automation:
|
|||||||
entity_id: binary_sensor.doorbell_alarm_local
|
entity_id: binary_sensor.doorbell_alarm_local
|
||||||
to: 'on'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- action: media_player.play_media
|
- action: rest_command.doorbell_chime
|
||||||
data:
|
|
||||||
media_content_id: media-source://media_source/local/S005-corsica-doorbell.mp3
|
|
||||||
media_content_type: audio
|
|
||||||
target:
|
|
||||||
entity_id: media_player.tablet_lr
|
|
||||||
|
|
||||||
- alias: Notify on Doorbell Button
|
- alias: Notify on Doorbell Button
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user