diff --git a/homeassistant/components/esphome/config_flow.py b/homeassistant/components/esphome/config_flow.py index ecfa381bc69..9fd12634e43 100644 --- a/homeassistant/components/esphome/config_flow.py +++ b/homeassistant/components/esphome/config_flow.py @@ -25,6 +25,7 @@ from homeassistant.data_entry_flow import FlowResult from . import CONF_NOISE_PSK, DOMAIN, DomainData ERROR_REQUIRES_ENCRYPTION_KEY = "requires_encryption_key" +ESPHOME_URL = "https://esphome.io/" class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN): @@ -55,7 +56,10 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN): errors["base"] = error return self.async_show_form( - step_id="user", data_schema=vol.Schema(fields), errors=errors + step_id="user", + data_schema=vol.Schema(fields), + errors=errors, + description_placeholders={"esphome_url": ESPHOME_URL}, ) async def async_step_user( diff --git a/homeassistant/components/esphome/strings.json b/homeassistant/components/esphome/strings.json index 62814f2723b..b1b1ba94e3f 100644 --- a/homeassistant/components/esphome/strings.json +++ b/homeassistant/components/esphome/strings.json @@ -6,7 +6,7 @@ "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]" }, "error": { - "resolve_error": "Can't resolve address of the ESP. If this error persists, please set a static IP address: https://esphomelib.com/esphomeyaml/components/wifi.html#manual-ips", + "resolve_error": "Can't resolve address of the ESP. If this error persists, please set a static IP address", "connection_error": "Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "invalid_psk": "The transport encryption key is invalid. Please ensure it matches what you have in your configuration" @@ -17,7 +17,7 @@ "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]" }, - "description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node." + "description": "Please enter connection settings of your [ESPHome]({esphome_url}) node." }, "authenticate": { "data": {