From 59a2ec0d99bf8e66d0ec654295e9dcde2e0f49ea Mon Sep 17 00:00:00 2001 From: Max Muth Date: Sat, 26 May 2018 13:54:11 +0200 Subject: [PATCH] Add new shopping_list services (#5438) --- source/_components/shopping_list.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_components/shopping_list.markdown b/source/_components/shopping_list.markdown index c30bbd9ff6e..e99b96e7b3a 100644 --- a/source/_components/shopping_list.markdown +++ b/source/_components/shopping_list.markdown @@ -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" | \ No newline at end of file