mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Remove the word "node" from ESPHome texts (#142929)
This commit is contained in:
parent
6a95abb831
commit
c6abe1d1bb
@ -50,7 +50,6 @@ from .dashboard import async_get_or_create_dashboard_manager, async_set_dashboar
|
|||||||
|
|
||||||
ERROR_REQUIRES_ENCRYPTION_KEY = "requires_encryption_key"
|
ERROR_REQUIRES_ENCRYPTION_KEY = "requires_encryption_key"
|
||||||
ERROR_INVALID_ENCRYPTION_KEY = "invalid_psk"
|
ERROR_INVALID_ENCRYPTION_KEY = "invalid_psk"
|
||||||
ESPHOME_URL = "https://esphome.io/"
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
ZERO_NOISE_PSK = "MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA="
|
ZERO_NOISE_PSK = "MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA="
|
||||||
@ -96,7 +95,6 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
step_id="user",
|
step_id="user",
|
||||||
data_schema=vol.Schema(fields),
|
data_schema=vol.Schema(fields),
|
||||||
errors=errors,
|
errors=errors,
|
||||||
description_placeholders={"esphome_url": ESPHOME_URL},
|
|
||||||
)
|
)
|
||||||
|
|
||||||
async def async_step_user(
|
async def async_step_user(
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"host": "[%key:common::config_flow::data::host%]",
|
"host": "[%key:common::config_flow::data::host%]",
|
||||||
"port": "[%key:common::config_flow::data::port%]"
|
"port": "[%key:common::config_flow::data::port%]"
|
||||||
},
|
},
|
||||||
"description": "Please enter connection settings of your [ESPHome]({esphome_url}) node."
|
"description": "Please enter connection settings of your ESPHome device."
|
||||||
},
|
},
|
||||||
"authenticate": {
|
"authenticate": {
|
||||||
"data": {
|
"data": {
|
||||||
@ -47,8 +47,8 @@
|
|||||||
"description": "The ESPHome device {name} disabled transport encryption. Please confirm that you want to remove the encryption key and allow unencrypted connections."
|
"description": "The ESPHome device {name} disabled transport encryption. Please confirm that you want to remove the encryption key and allow unencrypted connections."
|
||||||
},
|
},
|
||||||
"discovery_confirm": {
|
"discovery_confirm": {
|
||||||
"description": "Do you want to add the ESPHome node `{name}` to Home Assistant?",
|
"description": "Do you want to add the device `{name}` to Home Assistant?",
|
||||||
"title": "Discovered ESPHome node"
|
"title": "Discovered ESPHome device"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flow_title": "{name}"
|
"flow_title": "{name}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user