Add new shopping_list services (#5438)

This commit is contained in:
Max Muth 2018-05-26 13:54:11 +02:00 committed by Sebastian Muszynski
parent 9f9aacbbcd
commit 59a2ec0d99

View File

@ -18,3 +18,18 @@ The `shopping_list` component allows you to keep track of shopping list items. I
# Example configuration.yaml entry
shopping_list:
```
### Services
You can add or remove items on your shopping list by using the following services.
#### {% linkable_title Service `shopping_list.add_item` %}
| Service data attribute | Optional | Description |
|------------------------|----------|--------------------------------------------------------|
| `name` | no | Name of the item to add. Example: "Beer" |
#### {% linkable_title Service `shopping_list.complete_item` %}
| Service data attribute | Optional | Description |
|------------------------|----------|--------------------------------------------------------|
| `name` | no | Name of the item to mark as completed. Example: "Beer" |