From 94fba0a0a5e5b76cdf22ccb2eed32ba4664b65b2 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Sun, 7 Jul 2024 21:19:31 +0200 Subject: [PATCH] Add documentation for the mealie.get_mealplan service (#33606) --- source/_integrations/mealie.markdown | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/_integrations/mealie.markdown b/source/_integrations/mealie.markdown index c5df067d8bc..f3940c66061 100644 --- a/source/_integrations/mealie.markdown +++ b/source/_integrations/mealie.markdown @@ -38,3 +38,19 @@ The integration will create a calendar for every type of meal plan: - Lunch - Dinner - Side + +## Services + +The Mealie integration has the following services: + +- `mealie.get_mealplan` + +### Service `mealie.get_mealplan` + +Get the meal plan for a specified range. + +| Service data attribute | Optional | Description | +|------------------------|----------|----------------------------------------------------------| +| `config_entry_id` | No | The ID of the Mealie config entry to get data from. | +| `start_date` | Yes | The start date of the meal plan. (today if not supplied) | +| `end_date` | Yes | The end date of the meal plan. (today if not supplied) |