diff --git a/source/_integrations/notify.markdown b/source/_integrations/notify.markdown index 1287ada6a29..5ccc5e5436d 100644 --- a/source/_integrations/notify.markdown +++ b/source/_integrations/notify.markdown @@ -13,7 +13,7 @@ ha_integration_type: entity The `notify` integration makes it possible to send notifications to a wide variety of platforms. To use it you have to setup at least one notification target (notifier), check the [integrations list](/integrations/#notifications) for one that fits your use case. -If you want to send notifications to the Home Assistant web interface, you may use the [Persistent Notification integration](/integrations/persistent_notification/). +If you want to send notifications to the Home Assistant web interface, you may use the [Persistent Notification integration](/integrations/persistent_notification/). The Persistent Notification integration is also available as an automatically configured notifier. See [its documentation](/integrations/persistent_notification/) for more details. ## Service diff --git a/source/_integrations/persistent_notification.markdown b/source/_integrations/persistent_notification.markdown index a116cf3ff96..cc7f9fd1c4c 100644 --- a/source/_integrations/persistent_notification.markdown +++ b/source/_integrations/persistent_notification.markdown @@ -132,3 +132,13 @@ Choose the **Services** tab from the **Developer Tools** sidebar item, then sele } ``` This will create the notification entry shown above. + +### Use as a notifier + +Persistent notifications can also be used as a pre-configured notifier for the [Notify integration](/integrations/notify/) if that integration is loaded. It is available as `notify.persistent_notification`. This enables it to be used with features that require a notifier like [Notify Groups](/integrations/group/#notify-groups) or the [Alert integration](/integrations/alert/). + +The following attributes can be placed inside `data` for extended functionality. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ----------- | +| `notification_id` | yes | If `notification_id` is given, it will overwrite the notification if there already was a notification with that ID. |