feat: Add doorbell chime automation
This commit is contained in:
@@ -16,7 +16,7 @@ homeassistant:
|
|||||||
currency: USD
|
currency: USD
|
||||||
|
|
||||||
# URL and Access Control
|
# URL and Access Control
|
||||||
internal_url: !secret http_internal_url
|
internal_url: !secret http_external_url
|
||||||
external_url: !secret http_external_url
|
external_url: !secret http_external_url
|
||||||
auth_mfa_modules:
|
auth_mfa_modules:
|
||||||
- type: totp
|
- type: totp
|
||||||
|
|||||||
@@ -584,6 +584,19 @@ automation:
|
|||||||

|

|
||||||
[View Clip](/api/frigate/notifications/{{ trigger.payload_json.after.id }}/clip.mp4)
|
[View Clip](/api/frigate/notifications/{{ trigger.payload_json.after.id }}/clip.mp4)
|
||||||
|
|
||||||
|
- alias: Chime on Doorbell Button
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
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.clock1
|
||||||
|
|
||||||
- alias: Notify on Doorbell Button
|
- alias: Notify on Doorbell Button
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
|
|||||||
Reference in New Issue
Block a user