Skip to content

Commit 59a2ec0

Browse files
mammuthsyssi
authored andcommitted
Add new shopping_list services (home-assistant#5438)
1 parent 9f9aacb commit 59a2ec0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/_components/shopping_list.markdown

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,18 @@ The `shopping_list` component allows you to keep track of shopping list items. I
1818
# Example configuration.yaml entry
1919
shopping_list:
2020
```
21+
22+
### Services
23+
You can add or remove items on your shopping list by using the following services.
24+
25+
#### {% linkable_title Service `shopping_list.add_item` %}
26+
27+
| Service data attribute | Optional | Description |
28+
|------------------------|----------|--------------------------------------------------------|
29+
| `name` | no | Name of the item to add. Example: "Beer" |
30+
31+
#### {% linkable_title Service `shopping_list.complete_item` %}
32+
33+
| Service data attribute | Optional | Description |
34+
|------------------------|----------|--------------------------------------------------------|
35+
| `name` | no | Name of the item to mark as completed. Example: "Beer" |

0 commit comments

Comments
 (0)