Add data descriptions to Mealie integration (#133590)

This commit is contained in:
Andrew Jackson 2024-12-19 17:28:50 +00:00 committed by GitHub
parent 95b3d27b60
commit 1a068d99d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,9 @@
{
"common": {
"data_description_host": "The URL of your Mealie instance, for example, http://192.168.1.123:1234",
"data_description_api_token": "The API token of your Mealie instance from your user profile within Mealie.",
"data_description_verify_ssl": "Should SSL certificates be verified? This should be off for self-signed certificates."
},
"config": {
"step": {
"user": {
@ -8,13 +13,18 @@
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
},
"data_description": {
"host": "The URL of your Mealie instance, for example, http://192.168.1.123:1234"
"host": "[%key:component::mealie::common::data_description_host%]",
"api_token": "[%key:component::mealie::common::data_description_api_token%]",
"verify_ssl": "[%key:component::mealie::common::data_description_verify_ssl%]"
}
},
"reauth_confirm": {
"description": "Please reauthenticate with Mealie.",
"data": {
"api_token": "[%key:common::config_flow::data::api_token%]"
},
"data_description": {
"api_token": "[%key:component::mealie::common::data_description_api_token%]"
}
},
"reconfigure": {
@ -23,6 +33,11 @@
"host": "[%key:common::config_flow::data::url%]",
"api_token": "[%key:common::config_flow::data::api_token%]",
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
},
"data_description": {
"host": "[%key:component::mealie::common::data_description_host%]",
"api_token": "[%key:component::mealie::common::data_description_api_token%]",
"verify_ssl": "[%key:component::mealie::common::data_description_verify_ssl%]"
}
}
},