From 2cdd4831260c30b6c2512528342aa4cdd2be516d Mon Sep 17 00:00:00 2001 From: jameson_uk <1040621+jamesonuk@users.noreply.github.com> Date: Thu, 18 Jul 2024 23:30:24 +0100 Subject: [PATCH] Update automation (#12487) `data_template` has been deprecated for sometime in HA an no longer works. This should just be `data` --- docs/docs/guides/ha_notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guides/ha_notifications.md b/docs/docs/guides/ha_notifications.md index cf3e03349..8ed7a6e39 100644 --- a/docs/docs/guides/ha_notifications.md +++ b/docs/docs/guides/ha_notifications.md @@ -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'