From b7f2396ce78128cad9f3067f994a8571fc0e07c7 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 23 Jul 2019 04:10:47 -0400 Subject: [PATCH] Correct service calls on persistent_notification page (#9954) I updated the service calls to correct ones (they had a / instead of a .) and also removed the Services icon image since it's gone with the redesigned Dev Tools in 0.96. --- source/_components/persistent_notification.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/persistent_notification.markdown b/source/_components/persistent_notification.markdown index 7556eccadd1..4be8e781ae7 100644 --- a/source/_components/persistent_notification.markdown +++ b/source/_components/persistent_notification.markdown @@ -8,7 +8,7 @@ ha_release: 0.23 ha_qa_scale: internal --- -The `persistent_notification` can be used to show a message on the frontend that has to be dismissed by the user. +The `persistent_notification` integration can be used to show a notfication on the frontend that has to be dismissed by the user.

@@ -16,7 +16,7 @@ The `persistent_notification` can be used to show a message on the frontend that ### Service -The service `persistent_notification/create` takes in `message`, `title`, and `notification_id`. +The service `persistent_notification.create` takes in `message`, `title`, and `notification_id`. | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | @@ -36,7 +36,7 @@ action: title: "Custom subject" ``` -The service `persistent_notification/dismiss` requires a `notification_id`. +The service `persistent_notification.dismiss` requires a `notification_id`. | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | @@ -97,7 +97,7 @@ The message attribute supports the [Markdown formatting syntax](https://daringfi ### Create a persistent notification -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**. +Choose the **Services** tab from the **Developer Tools** sidebar item, then select the `persistent_notification.create` service from the "Service" dropdown. Enter something like the sample below into the **Service Data** field and press the **CALL SERVICE** button. ```json {