Skip to content

Commit

Permalink
Revert formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
c0ffeeca7 committed Feb 11, 2025
1 parent 85f3f96 commit 6ceb61b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions source/_integrations/shopping_list.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,32 @@ You can add or remove items from your shopping list by using the following actio
Add an item to the shopping list.

| Data attribute | Optional | Description |
| -------------- | -------- | ---------------------------------------- |
| `name` | no | Name of the item to add. Example: "Milk" |
| ---------------------- | -------- | ---------------------------------------- |
| `name` | no | Name of the item to add. Example: "Milk" |

### Action `shopping_list.remove_item`

Remove the first item with matching name from the shopping list.

| Data attribute | Optional | Description |
| -------------- | -------- | ------------------------------------------- |
| `name` | no | Name of the item to remove. Example: "Milk" |
| ---------------------- | -------- | ------------------------------------------- |
| `name` | no | Name of the item to remove. Example: "Milk" |

### Action `shopping_list.complete_item`

Mark the first item with matching name as completed in the shopping list. It does not remove the item.

| Data attribute | Optional | Description |
| -------------- | -------- | ------------------------------------------------------ |
| `name` | no | Name of the item to mark as completed. Example: "Milk" |
| ---------------------- | -------- | ------------------------------------------------------ |
| `name` | no | Name of the item to mark as completed. Example: "Milk" |

### Action `shopping_list.incomplete_item`

Mark the first item with matching name as incomplete in the shopping list.

| Data attribute | Optional | Description |
| -------------- | -------- | ------------------------------------------------------- |
| `name` | no | Name of the item to mark as incomplete. Example: "Milk" |
| ---------------------- | -------- | ------------------------------------------------------- |
| `name` | no | Name of the item to mark as incomplete. Example: "Milk" |

### Action `shopping_list.complete_all`

Expand All @@ -73,8 +73,8 @@ Clear completed items from the shopping list.
Sort all items by name in the shopping list.

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

## Using in automations

Expand Down Expand Up @@ -115,4 +115,4 @@ You can also trigger an automation when a `shopping_list_updated` event was trig
- `reorder` An item has been reordered in the list.
- `update_list` All items have been updated.

In these cases, the event does not return a list item.
In these cases, the event does not return a list item.

0 comments on commit 6ceb61b

Please sign in to comment.