From faf1d09ee4212b7c3a017fbbaba12bd66d50f09b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 6 Jun 2023 15:02:34 -0500 Subject: [PATCH] Update template docs for Persistent Notification --- source/_docs/configuration/templating.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index c3bbe7874c1..f70d8e4bec3 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -1063,6 +1063,12 @@ To evaluate a response, go to **{% my developer_template title="Developer Tools {% endraw %} +### Using templates with the Persistent Notification integration + +The [Persistent Notification](/integrations/persistent_notification/) integration notifications can be access via the `persistent_notification()` call. + +Example Template {% raw %}`{{ persistent_notifications() }}`{% endraw %} + ### Using templates with the MQTT integration The [MQTT integration](/integrations/mqtt/) relies heavily on templates. Templates are used to transform incoming payloads (value templates) to status updates or incoming service calls (command templates) to payloads that configure the MQTT device.