Skip to content

Commit 1e493e9

Browse files
committed
Correct scope
* custom_components/daikin_residential_altherma/config_flow.py:
1 parent fd44821 commit 1e493e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

custom_components/daikin_residential_altherma/config_flow.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class FlowHandler(
2121
):
2222
"""Handle a config flow."""
2323
"""See https://developers.home-assistant.io/docs/core/platform/application_credentials/ """
24+
""" https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/getting_started """
2425
VERSION = 1
2526
DOMAIN = DOMAIN
2627
CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL
@@ -29,8 +30,8 @@ class FlowHandler(
2930
def extra_authorize_data(self) -> dict[str, str]:
3031
"""Extra data that needs to be appended to the authorize url."""
3132
return {
32-
"scope": "openid%20onecta:basic.integration",
33-
"redirect_uri": "daikinunified://login", # onectaintegration://callback
33+
"scope": "openid onecta:basic.integration",
34+
"redirect_uri": "onectaintegration://callback/",
3435
}
3536

3637
async def async_oauth_create_entry(self, data: dict) -> FlowResult:

0 commit comments

Comments
 (0)