mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update notification example for shopping list (#22164)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
be38b6a948
commit
30bb6b4a21
@ -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"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user