Add documentation for the mealie.get_mealplan service (#33606)

This commit is contained in:
Joost Lekkerkerker 2024-07-07 21:19:31 +02:00 committed by GitHub
parent 91aba56f0d
commit 94fba0a0a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) |