1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Move URL out of Nuheat strings.json (#154580)

This commit is contained in:
tstabrawa
2025-10-16 03:14:22 -05:00
committed by Franck Nijhof
parent e731c07b77
commit 90b0f50b8f
2 changed files with 5 additions and 2 deletions

View File

@@ -89,7 +89,10 @@ class NuHeatConfigFlow(ConfigFlow, domain=DOMAIN):
return self.async_create_entry(title=info["title"], data=user_input)
return self.async_show_form(
step_id="user", data_schema=DATA_SCHEMA, errors=errors
step_id="user",
data_schema=DATA_SCHEMA,
errors=errors,
description_placeholders={"nuheat_url": "https://MyNuHeat.com"},
)

View File

@@ -12,7 +12,7 @@
"step": {
"user": {
"title": "Connect to the NuHeat",
"description": "You will need to obtain your thermostat\u2019s numeric serial number or ID by logging into https://MyNuHeat.com and selecting your thermostat(s).",
"description": "You will need to obtain your thermostat\u2019s numeric serial number or ID by logging into {nuheat_url} and selecting your thermostat(s).",
"data": {
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]",