Skip to content

Commit 724c349

Browse files
timmo001joostlek
andauthored
Add guide for Honeywell Lyric application credentials setup (home-assistant#146281)
* Add guide for Honeywell Lyric application credentials setup * Fix --------- Co-authored-by: Joostlek <[email protected]>
1 parent 9346f8d commit 724c349

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

homeassistant/components/lyric/application_credentials.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ async def async_get_auth_implementation(
2424
token_url=OAUTH2_TOKEN,
2525
),
2626
)
27+
28+
29+
async def async_get_description_placeholders(hass: HomeAssistant) -> dict[str, str]:
30+
"""Return description placeholders for the credentials dialog."""
31+
return {
32+
"developer_dashboard_url": "https://developer.honeywellhome.com",
33+
"redirect_url": "https://my.home-assistant.io/redirect/oauth",
34+
}

homeassistant/components/lyric/strings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"application_credentials": {
3+
"description": "To be able to log in to Honeywell Lyric the integration requires a client ID and secret. To acquire those, please follow the following steps.\n\n1. Go to the [Honeywell Lyric Developer Apps Dashboard]({developer_dashboard_url}).\n1. Sign up for a developer account if you don't have one yet. This is a separate account from your Honeywell account.\n1. Log in with your Honeywell Lyric developer account.\n1. Go to the **My Apps** section.\n1. Press the **CREATE NEW APP** button.\n1. Give the application a name of your choice.\n1. Set the **Callback URL** to `{redirect_url}`.\n1. Save your changes.\\n1. Copy the **Consumer Key** and paste it here as the **Client ID**, then copy the **Consumer Secret** and paste it here as the **Client Secret**."
4+
},
25
"config": {
36
"step": {
47
"pick_implementation": {
@@ -9,7 +12,7 @@
912
"description": "The Lyric integration needs to re-authenticate your account."
1013
},
1114
"oauth_discovery": {
12-
"description": "Home Assistant has found a Honeywell Lyric device on your network. Press **Submit** to continue setting up Honeywell Lyric."
15+
"description": "Home Assistant has found a Honeywell Lyric device on your network. Be aware that the setup of the Lyric integration is more complicated than other integrations. Press **Submit** to continue setting up Honeywell Lyric."
1316
}
1417
},
1518
"abort": {

0 commit comments

Comments
 (0)