From 6bd2d5f4d89a9c1b703bbb858f77234427a2100c Mon Sep 17 00:00:00 2001 From: MHV33 <41445347+MHV33@users.noreply.github.com> Date: Tue, 23 Feb 2021 16:26:09 -0600 Subject: [PATCH] Add additional shopping list services (#16328) --- source/_integrations/shopping_list.markdown | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/source/_integrations/shopping_list.markdown b/source/_integrations/shopping_list.markdown index 5fddca24eec..eb0244d42e5 100644 --- a/source/_integrations/shopping_list.markdown +++ b/source/_integrations/shopping_list.markdown @@ -22,16 +22,36 @@ You can add or remove items from your shopping list by using the following servi ### Service `shopping_list.add_item` +Adds an item to the shopping list. + | Service data attribute | Optional | Description | |------------------------|----------|--------------------------------------------------------| | `name` | no | Name of the item to add. Example: "Milk" | ### Service `shopping_list.complete_item` +Marks an item as completed in the shopping list. It does not remove the item. + | Service data attribute | Optional | Description | |------------------------|----------|--------------------------------------------------------| | `name` | no | Name of the item to mark as completed. Example: "Milk" | +### Service `shopping_list.incomplete_item` + +Marks an item as incomplete in the shopping list. + +| Service data attribute | Optional | Description | +|------------------------|----------|--------------------------------------------------------| +| `name` | no | Name of the item to mark as incomplete. Example: "Milk" | + +### Service `shopping_list.complete_all` + +Marks all items as completed in the shopping list. It does not remove the items. + +### Service `shopping_list.incomplete_all` + +Marks all items as incomplete in 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.