Add service to set random mealplan (#33906)

This commit is contained in:
Joost Lekkerkerker 2024-07-21 16:43:58 +02:00 committed by GitHub
parent 586cd713bf
commit f036e5cd23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,6 +83,16 @@ Import the recipe into Mealie from a URL.
| `url` | No | The URL of the recipe. | | `url` | No | The URL of the recipe. |
| `include_tags` | Yes | Include tags from the website to the recipe. (false by default) | | `include_tags` | Yes | Include tags from the website to the recipe. (false by default) |
### Action `mealie.set_random_mealplan`
Set a random 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". |
{% tip %} {% tip %}
You can get your `config_entry_id` by using actions within [Developer Tools](/docs/tools/dev-tools/), using one of the above actions and viewing the YAML. You can get your `config_entry_id` by using actions within [Developer Tools](/docs/tools/dev-tools/), using one of the above actions and viewing the YAML.
{% endtip %} {% endtip %}