update notification example

This commit is contained in:
Blake Blackshear 2021-01-19 07:41:45 -06:00
parent 14645ce4f8
commit 52da1fddc7

View File

@ -16,7 +16,7 @@ automation:
data_template: data_template:
message: "A {{trigger.payload_json['after']['label']}} has entered the yard." message: "A {{trigger.payload_json['after']['label']}} has entered the yard."
data: data:
image: "https://url.com/api/frigate/notifications/{{trigger.payload_json['after']['id']}}.jpg" image: "https://url.com/api/frigate/notifications/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
tag: "{{trigger.payload_json['after']['id']}}" tag: "{{trigger.payload_json['after']['id']}}"
- alias: When a person leaves a zone named yard - alias: When a person leaves a zone named yard