From ace8deffde794ec40675add58568a8dda843f3c0 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Mon, 22 Jul 2024 15:34:18 +0200 Subject: [PATCH] Add action to set mealplan (#33908) Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/mealie.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_integrations/mealie.markdown b/source/_integrations/mealie.markdown index 63a84dbb67b..96a129d7a76 100644 --- a/source/_integrations/mealie.markdown +++ b/source/_integrations/mealie.markdown @@ -63,6 +63,8 @@ The Mealie integration has the following actions: - `mealie.get_mealplan` - `mealie.get_recipe` - `mealie.import_recipe` +- `mealie.set_mealplan` +- `mealie.set_random_mealplan` ### Action `mealie.get_mealplan` @@ -93,6 +95,19 @@ Import the recipe into Mealie from a URL. | `url` | No | The URL of the recipe. | | `include_tags` | Yes | Include tags from the website to the recipe. (false by default) | +### Action `mealie.set_mealplan` + +Set a mealplan on a specific date. + +| Data attribute | Optional | Description | +|-------------------|----------|-----------------------------------------------------| +| `config_entry_id` | No | The ID of the Mealie config entry to get data from. | +| `date` | No | The date that should be filled. | +| `entry_type` | No | One of "breakfast", "lunch", "dinner", or "side". | +| `recipe_id` | Yes | The recipe to plan. | +| `note_title` | Yes | The title of the meal note. | +| `note_text` | Yes | The description of the meal note. | + ### Action `mealie.set_random_mealplan` Set a random mealplan on a specific date.