mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Add action to set mealplan (#33908)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
bb8c9bd731
commit
ace8deffde
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user