Skip to content

Commit 03f339b

Browse files
authored
Fix Translation error in Home Connect "Add application credentials"-step (home-assistant#155233)
1 parent 6cfeeea commit 03f339b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

homeassistant/components/home_connect/application_credentials.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationSe
1212
authorize_url=OAUTH2_AUTHORIZE,
1313
token_url=OAUTH2_TOKEN,
1414
)
15+
16+
17+
async def async_get_description_placeholders(hass: HomeAssistant) -> dict[str, str]:
18+
"""Return description placeholders for the credentials dialog."""
19+
return {
20+
"developer_dashboard_url": "https://developer.home-connect.com/",
21+
"applications_url": "https://developer.home-connect.com/applications",
22+
"register_application_url": "https://developer.home-connect.com/application/add",
23+
"redirect_url": "https://my.home-assistant.io/redirect/oauth",
24+
}

0 commit comments

Comments
 (0)