Skip to content

Commit

Permalink
Add action to set mealplan (#33908)
Browse files Browse the repository at this point in the history
Co-authored-by: c0ffeeca7 <[email protected]>
  • Loading branch information
joostlek and c0ffeeca7 authored Jul 22, 2024
1 parent bb8c9bd commit ace8def
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions source/_integrations/mealie.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ace8def

Please sign in to comment.