Add guide for Honeywell Lyric application credentials setup (#146281)

* Add guide for Honeywell Lyric application credentials setup

* Fix

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
pull/146551/head
Aidan Timson 2025-06-11 15:24:37 +01:00 committed by GitHub
parent 9346f8d658
commit 724c349194
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -24,3 +24,11 @@ async def async_get_auth_implementation(
token_url=OAUTH2_TOKEN,
),
)
async def async_get_description_placeholders(hass: HomeAssistant) -> dict[str, str]:
"""Return description placeholders for the credentials dialog."""
return {
"developer_dashboard_url": "https://developer.honeywellhome.com",
"redirect_url": "https://my.home-assistant.io/redirect/oauth",
}

View File

@ -1,4 +1,7 @@
{
"application_credentials": {
"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**."
},
"config": {
"step": {
"pick_implementation": {
@ -9,7 +12,7 @@
"description": "The Lyric integration needs to re-authenticate your account."
},
"oauth_discovery": {
"description": "Home Assistant has found a Honeywell Lyric device on your network. Press **Submit** to continue setting up Honeywell Lyric."
"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."
}
},
"abort": {