Skip to content

Commit a50b00b

Browse files
andrew-codechimpfrenck
authored andcommitted
Move url out of Flume strings.json (home-assistant#154787)
1 parent 1df8b10 commit a50b00b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

homeassistant/components/flume/config_flow.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ async def async_step_user(
111111
errors[CONF_PASSWORD] = "invalid_auth"
112112

113113
return self.async_show_form(
114-
step_id="user", data_schema=DATA_SCHEMA, errors=errors
114+
step_id="user",
115+
data_schema=DATA_SCHEMA,
116+
errors=errors,
117+
description_placeholders={
118+
"api_url": "https://portal.flumetech.com/settings#token"
119+
},
115120
)
116121

117122
async def async_step_reauth(

homeassistant/components/flume/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"step": {
99
"user": {
10-
"description": "In order to access the Flume Personal API, you will need to request a 'Client ID' and 'Client Secret' at https://portal.flumetech.com/settings#token",
10+
"description": "In order to access the Flume Personal API, you will need to request a 'Client ID' and 'Client Secret' at {api_url}",
1111
"title": "Connect to your Flume account",
1212
"data": {
1313
"username": "[%key:common::config_flow::data::username%]",

0 commit comments

Comments
 (0)