diff --git a/homeassistant/components/mealie/config_flow.py b/homeassistant/components/mealie/config_flow.py index 2addd23284ee..9749313f8f18 100644 --- a/homeassistant/components/mealie/config_flow.py +++ b/homeassistant/components/mealie/config_flow.py @@ -26,6 +26,8 @@ REAUTH_SCHEMA = vol.Schema( } ) +EXAMPLE_URL = "http://192.168.1.123:1234" + class MealieConfigFlow(ConfigFlow, domain=DOMAIN): """Mealie config flow.""" @@ -84,6 +86,7 @@ class MealieConfigFlow(ConfigFlow, domain=DOMAIN): step_id="user", data_schema=USER_SCHEMA, errors=errors, + description_placeholders={"example_url": EXAMPLE_URL}, ) async def async_step_reauth( @@ -114,6 +117,7 @@ class MealieConfigFlow(ConfigFlow, domain=DOMAIN): step_id="reauth_confirm", data_schema=REAUTH_SCHEMA, errors=errors, + description_placeholders={"example_url": EXAMPLE_URL}, ) async def async_step_reconfigure( @@ -142,4 +146,5 @@ class MealieConfigFlow(ConfigFlow, domain=DOMAIN): step_id="reconfigure", data_schema=USER_SCHEMA, errors=errors, + description_placeholders={"example_url": EXAMPLE_URL}, ) diff --git a/homeassistant/components/mealie/strings.json b/homeassistant/components/mealie/strings.json index 5533631f7556..c4d446125799 100644 --- a/homeassistant/components/mealie/strings.json +++ b/homeassistant/components/mealie/strings.json @@ -1,6 +1,6 @@ { "common": { - "data_description_host": "The URL of your Mealie instance, for example, http://192.168.1.123:1234", + "data_description_host": "The URL of your Mealie instance, for example, {example_url}.", "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." },