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:
@@ -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"},
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -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%]",
|
||||
|
||||
Reference in New Issue
Block a user