Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/_integrations/shopping_list.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ Mark all items as incomplete in the shopping list.

Clear completed items from the shopping list.

### Service `shopping_list.sort`

Sort all items by name in the shopping list.

| Service data attribute | Optional | Description |
|------------------------|----------|---------------------------------------------------------------------|
| `reverse` | yes | Whether to sort in reverse (_descending_) order. (default: `False`) |

## Using in Automations

A `shopping_list_updated` event is triggered when items in the list are modified, with the following data payload attached to it. This can be used to trigger automations such as sending a push notification when someone adds an item to the shopping list, which when clicked, will open the list.
Expand Down