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,18 +58,18 @@ Clear completed items from the shopping list.
## Using in Automations ## 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. 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.
This is tested to work with the Android companion app.
{% raw %} {% raw %}
```yaml ```yaml
service: notify.notify - service: notify.notify
title: "Time to shop?" data:
message: 'Click to open the shopping list' title: "Time to shop?"
data: message: "Click to open the shopping list"
clickAction: "/shopping-list" data:
url: "/shopping-list" clickAction: "/shopping-list"
url: "/shopping-list"
``` ```
{% endraw %} {% endraw %}