Skip to content

Commit 32cd436

Browse files
andrew-codechimpfrenck
authored andcommitted
Move url out of motionblinds strings.json (home-assistant#154777)
1 parent 0828a84 commit 32cd436

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

homeassistant/components/motion_blinds/config_flow.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,10 @@ async def async_step_connect(
202202
)
203203

204204
return self.async_show_form(
205-
step_id="connect", data_schema=self._config_settings, errors=errors
205+
step_id="connect",
206+
data_schema=self._config_settings,
207+
errors=errors,
208+
description_placeholders={
209+
"documentation_url": "https://www.home-assistant.io/integrations/motion_blinds/#retrieving-the-api-key",
210+
},
206211
)

homeassistant/components/motion_blinds/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"connect": {
12-
"description": "You will need the 16 character API key, see https://www.home-assistant.io/integrations/motion_blinds/#retrieving-the-api-key for instructions",
12+
"description": "You will need the 16 character API key, see {documentation_url} for instructions",
1313
"data": {
1414
"api_key": "[%key:common::config_flow::data::api_key%]"
1515
}

0 commit comments

Comments
 (0)