Update automation (#12487)

`data_template` has been deprecated for sometime in HA an no longer works.  This should just be `data`
This commit is contained in:
jameson_uk 2024-07-18 23:30:24 +01:00 committed by GitHub
parent 91215a1406
commit 2cdd483126
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ automation:
topic: frigate/events
action:
- service: notify.mobile_app_pixel_3
data_template:
data:
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'