From 3f4e9f4a2a1dd855aac6a00958be917ee1fda4ee Mon Sep 17 00:00:00 2001 From: Tom Barrett <43373700+tjb36@users.noreply.github.com> Date: Tue, 11 Feb 2025 07:54:45 +0000 Subject: [PATCH] Update shopping_list.markdown (#37405) Added documentation of the "remove" action which is present in the shopping_list_updated event that is fired when an item is removed from the list. This was not present before (only add and update were). --- source/_integrations/shopping_list.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_integrations/shopping_list.markdown b/source/_integrations/shopping_list.markdown index c1a29b36a8d..a11622daa5f 100644 --- a/source/_integrations/shopping_list.markdown +++ b/source/_integrations/shopping_list.markdown @@ -80,13 +80,13 @@ Sort all items by name in the shopping list. 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. -| Data payload attribute | Description | -| ---------------------- | ------------------------------------------------------------------------------------------------------------------ | -| `action` | What action was taken on the item. Either `add` for a new item being added, or `update` for an item being updated. | -| `item` | A dictionary containing details of the item that was updated. | -| `item.id` | A unique ID for this item | -| `item.name` | The text attached to the item, for example `Milk` | -| `item.complete` | A boolean indicated whether the item has been marked as complete. | +| Data payload attribute | Description | +| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `action` | What action was taken on the item. Either `add` for a new item being added, `update` for an item being updated, or `remove` for an item being removed. | +| `item` | A dictionary containing details of the item that was updated. | +| `item.id` | A unique ID for this item | +| `item.name` | The text attached to the item, for example `Milk` | +| `item.complete` | A boolean indicated whether the item has been marked as complete. | {% raw %}