Skip to content

Commit 90b0f50

Browse files
tstabrawafrenck
authored andcommitted
Move URL out of Nuheat strings.json (home-assistant#154580)
1 parent e731c07 commit 90b0f50

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

homeassistant/components/nuheat/config_flow.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ async def async_step_user(
8989
return self.async_create_entry(title=info["title"], data=user_input)
9090

9191
return self.async_show_form(
92-
step_id="user", data_schema=DATA_SCHEMA, errors=errors
92+
step_id="user",
93+
data_schema=DATA_SCHEMA,
94+
errors=errors,
95+
description_placeholders={"nuheat_url": "https://MyNuHeat.com"},
9396
)
9497

9598

homeassistant/components/nuheat/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"step": {
1313
"user": {
1414
"title": "Connect to the NuHeat",
15-
"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).",
15+
"description": "You will need to obtain your thermostat\u2019s numeric serial number or ID by logging into {nuheat_url} and selecting your thermostat(s).",
1616
"data": {
1717
"username": "[%key:common::config_flow::data::username%]",
1818
"password": "[%key:common::config_flow::data::password%]",

0 commit comments

Comments
 (0)