Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a82c512

Browse files
Move url out of starline strings.json (home-assistant#154773)
1 parent 10392d9 commit a82c512

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)

AltStyle によって変換されたページ (->オリジナル) /