diff --git a/homeassistant/components/nuki/__init__.py b/homeassistant/components/nuki/__init__.py index 5c02b6e972ee..6e89fd074b9c 100644 --- a/homeassistant/components/nuki/__init__.py +++ b/homeassistant/components/nuki/__init__.py @@ -110,6 +110,8 @@ async def _create_webhook( translation_placeholders={ "base_url": hass_url, "network_link": "https://my.home-assistant.io/redirect/network/", + "sample_ip": "192.168.1.10", + "sample_url": "http://192.168.1.10:8123", }, ) else: diff --git a/homeassistant/components/nuki/config_flow.py b/homeassistant/components/nuki/config_flow.py index ac6771bb1bd9..f170d56feda5 100644 --- a/homeassistant/components/nuki/config_flow.py +++ b/homeassistant/components/nuki/config_flow.py @@ -177,4 +177,5 @@ class NukiConfigFlow(ConfigFlow, domain=DOMAIN): step_id="user", data_schema=self.add_suggested_values_to_schema(data_schema, user_input), errors=errors, + description_placeholders={"sample_ip": "192.168.1.25"}, ) diff --git a/homeassistant/components/nuki/strings.json b/homeassistant/components/nuki/strings.json index 84e66c3db964..ecd5872aadd6 100644 --- a/homeassistant/components/nuki/strings.json +++ b/homeassistant/components/nuki/strings.json @@ -9,7 +9,7 @@ "encrypt_token": "Use an encrypted token for authentication." }, "data_description": { - "host": "The hostname or IP address of your Nuki bridge. For example: 192.168.1.25." + "host": "The hostname or IP address of your Nuki bridge. For example: {sample_ip}." } }, "reauth_confirm": { @@ -34,7 +34,7 @@ "issues": { "https_webhook": { "title": "Nuki webhook URL uses HTTPS (SSL)", - "description": "The Nuki bridge can not push events to an HTTPS address (SSL), please configure a (local) HTTP address under \"Home Assistant URL\" in the [network settings]({network_link}). The current (local) address is: `{base_url}`, a valid address could, for example, be `http://192.168.1.10:8123` where `192.168.1.10` is the IP of the Home Assistant device" + "description": "The Nuki bridge cannot push events to an HTTPS address (SSL), please configure a (local) HTTP address under \"Home Assistant URL\" in the [network settings]({network_link}). The current (local) address is: `{base_url}`, a valid address could, for example, be `{sample_url}` where `{sample_ip}` is the IP of the Home Assistant device" } }, "entity": {