Update notification example for shopping list (#22164)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Callum Powell 2022-03-27 11:41:21 +02:00 committed by GitHub
parent be38b6a948
commit 30bb6b4a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,16 +58,16 @@ Clear completed items from the shopping list.
## Using in Automations
The simplest way use shopping list with automations (e.g., when entering a zone with shops) is to create a notification that can be clicked to open the shopping list.
This is tested to work with the Android companion app.
The simplest way to use the shopping list with automations (e.g., when entering a zone with shops) is to create a notification that can be clicked to open the shopping list.
{% raw %}
```yaml
service: notify.notify
title: "Time to shop?"
message: 'Click to open the shopping list'
data:
- service: notify.notify
data:
title: "Time to shop?"
message: "Click to open the shopping list"
data:
clickAction: "/shopping-list"
url: "/shopping-list"
```