2024-06-21 09:04:55 +00:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"step": {
|
|
|
|
"user": {
|
|
|
|
"data": {
|
2024-07-07 13:03:32 +00:00
|
|
|
"host": "[%key:common::config_flow::data::url%]",
|
2024-06-21 09:04:55 +00:00
|
|
|
"api_token": "[%key:common::config_flow::data::api_token%]"
|
2024-07-07 13:03:32 +00:00
|
|
|
},
|
|
|
|
"data_description": {
|
|
|
|
"host": "The URL of your Mealie instance."
|
2024-06-21 09:04:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"error": {
|
|
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
|
|
},
|
|
|
|
"abort": {
|
|
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"entity": {
|
|
|
|
"calendar": {
|
|
|
|
"breakfast": {
|
|
|
|
"name": "Breakfast"
|
|
|
|
},
|
|
|
|
"dinner": {
|
|
|
|
"name": "Dinner"
|
|
|
|
},
|
|
|
|
"lunch": {
|
|
|
|
"name": "Lunch"
|
|
|
|
},
|
|
|
|
"side": {
|
|
|
|
"name": "Side"
|
|
|
|
}
|
|
|
|
}
|
2024-07-07 19:19:20 +00:00
|
|
|
},
|
|
|
|
"exceptions": {
|
|
|
|
"not_loaded": {
|
|
|
|
"message": "{target} is not loaded."
|
|
|
|
},
|
|
|
|
"integration_not_found": {
|
|
|
|
"message": "Integration \"{target}\" not found in registry."
|
|
|
|
},
|
|
|
|
"end_date_before_start_date": {
|
|
|
|
"message": "End date must be after start date."
|
2024-07-08 15:11:35 +00:00
|
|
|
},
|
|
|
|
"recipe_not_found": {
|
|
|
|
"message": "Recipe with ID or slug `{recipe_id}` not found."
|
2024-07-07 19:19:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"services": {
|
|
|
|
"get_mealplan": {
|
|
|
|
"name": "Get mealplan",
|
|
|
|
"description": "Get meaplan from Mealie",
|
|
|
|
"fields": {
|
|
|
|
"config_entry_id": {
|
|
|
|
"name": "Mealie instance",
|
|
|
|
"description": "Select the Mealie instance to get mealplan from"
|
|
|
|
},
|
|
|
|
"start_date": {
|
|
|
|
"name": "Start date",
|
|
|
|
"description": "The startdate of the data to get (default: today)."
|
|
|
|
},
|
|
|
|
"end_date": {
|
|
|
|
"name": "End date",
|
|
|
|
"description": "The enddate of the data to get (default: today)."
|
|
|
|
}
|
|
|
|
}
|
2024-07-08 15:11:35 +00:00
|
|
|
},
|
|
|
|
"get_recipe": {
|
|
|
|
"name": "Get recipe",
|
|
|
|
"description": "Get recipe from Mealie",
|
|
|
|
"fields": {
|
|
|
|
"config_entry_id": {
|
|
|
|
"name": "[%key:component::mealie::services::get_mealplan::fields::config_entry_id::name%]",
|
|
|
|
"description": "[%key:component::mealie::services::get_mealplan::fields::config_entry_id::description%]"
|
|
|
|
},
|
|
|
|
"recipe_id": {
|
|
|
|
"name": "Recipe ID or slug",
|
|
|
|
"description": "The recipe ID or the slug of the recipe to get."
|
|
|
|
}
|
|
|
|
}
|
2024-07-07 19:19:20 +00:00
|
|
|
}
|
2024-06-21 09:04:55 +00:00
|
|
|
}
|
|
|
|
}
|