From 6451e47133359404345ba726cae68790c05923bd Mon Sep 17 00:00:00 2001 From: Johann Kellerman Date: Fri, 1 Jul 2016 23:30:54 +0200 Subject: [PATCH] Persistant changed to persistent --- .../_components/persistent_notification.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_components/persistent_notification.markdown b/source/_components/persistent_notification.markdown index 8ca121d36bf..9746ef22002 100644 --- a/source/_components/persistent_notification.markdown +++ b/source/_components/persistent_notification.markdown @@ -1,7 +1,7 @@ --- layout: page title: "Persistent notification" -description: "Instructions on how to integrate persistant notifications into Home Assistant." +description: "Instructions on how to integrate persistent notifications into Home Assistant." date: 2016-06-25 10:00 sidebar: true comments: false @@ -12,10 +12,10 @@ ha_category: Other ha_release: 0.23 --- -The `persistant_notification` can be used to show a message on the frontend that has to be dismissed by the user. +The `persistent_notification` can be used to show a message on the frontend that has to be dismissed by the user.

- +

### {% linkable_title Service %} @@ -28,21 +28,21 @@ The service `persistent_notification/create` takes in `message`, `title`, and `n | `title` | yes | Title of the notification. | `notification_id` | yes | If `notification_id` is given, it will overwrite the notification if there already was a notification with that ID. -The `persistant_notification` component supports specifying [templates](/topics/templating/) for both the `message` and the `title`. This will allow you to use the current state of Home Assistant in your notifications. +The `persistent_notification` component supports specifying [templates](/topics/templating/) for both the `message` and the `title`. This will allow you to use the current state of Home Assistant in your notifications. In an [action](https://home-assistant.io/getting-started/automation-action/) of your [automation setup](/getting-started/automation/) it could look like this with a customized subject. ```yaml action: - service: persistant_notification.create + service: persistent_notification.create data: message: "Your message goes here" title: "Custom subject" ``` -### {% linkable_title Create a persistant notification %} +### {% linkable_title Create a persistent notification %} -Choose service developer tool icon **Services** from the **Developer Tools** to call the `persistant_notification` service. Select `persistant_notification/create` from the list of **Available services:** and enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**. +Choose service developer tool icon **Services** from the **Developer Tools** to call the `persistent_notification` service. Select `persistent_notification/create` from the list of **Available services:** and enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**. ```json {