Update ha_notifications.md

Looks like the URL to fetch the thumbnail is wrong. Either change it as proposed or make a comment that e.g. a reverse proxy needs to translate the URL.
This commit is contained in:
turboproc 2022-12-26 23:33:34 +01:00 committed by GitHub
parent e3e03ec12f
commit a65ff0f850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ automation:
data_template:
message: 'A {{trigger.payload_json["after"]["label"]}} was detected.'
data:
image: 'https://your.public.hass.address.com/api/frigate/notifications/{{trigger.payload_json["after"]["id"]}}/thumbnail.jpg?format=android'
image: 'https://your.public.hass.address.com/api/events/{{trigger.payload_json["after"]["id"]}}/thumbnail.jpg?format=android'
tag: '{{trigger.payload_json["after"]["id"]}}'
when: '{{trigger.payload_json["after"]["start_time"]|int}}'
```