Update doorbell_notification.yaml

This commit is contained in:
2025-10-01 23:25:39 -05:00
parent b734578a68
commit 01848ec606

View File

@@ -0,0 +1,20 @@
alias: Notify - Doorbell Person Detected
description: ""
mode: single
triggers:
- topic: frigate/events
value_template: >
{{ value_json['type'] == 'new' and value_json['after']['label'] ==
'person' and value_json['after']['camera'] == 'front' }}
trigger: mqtt
conditions: []
actions:
- data:
message: 🚪 Someone is at the door
data:
image: >-
http://192.168.0.5:5341/api/events/{{trigger.payload_json['after']['id']}}/snapshot.jpg
url: homeassistant://navigate/dashboard-camera/0
action: notify.household_phones
- delay:
seconds: 30