Skip to content

Commit f63a527

Browse files
andrew-codechimpfrenck
authored andcommitted
Move url out of starline strings.json (home-assistant#154773)
1 parent 254a9ec commit f63a527

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

homeassistant/components/starline/config_flow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def _async_form_auth_app(self, error: str | None = None) -> ConfigFlowResult:
117117
}
118118
),
119119
errors=errors,
120+
description_placeholders={
121+
"developer_account_url": "https://my.starline.ru/developer",
122+
},
120123
)
121124

122125
@callback

homeassistant/components/starline/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"step": {
44
"auth_app": {
55
"title": "Application credentials",
6-
"description": "Application ID and secret code from [StarLine developer account](https://my.starline.ru/developer)",
6+
"description": "Application ID and secret code from [StarLine developer account]({developer_account_url})",
77
"data": {
88
"app_id": "App ID",
99
"app_secret": "Secret"

0 commit comments

Comments
 (0)