Open Pleeriezer opened 3 months ago
Hey there @davidmstraub, mind taking a look at this issue as it has been labeled with an integration (home_connect
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
home_connect documentation home_connect source (message by IssueLinks)
Hi
This sounds like a request for support? We use GitHub for tracking issues with Home Assistant Core itself, not for providing support. If you are in need of support, you should try our Community Forum or join our Discord chat server.
Thanks! 👍
Hi, I had the same issue.
There are two ways to fix it:
Use My Home integration (which is used by default for Home Connect integration). You just need to go to https://my.home-assistant.io/ and make sure your Home Assistant url is set there, for example: http://homeassistant:8123/ . Next go to https://developer.home-connect.com/ and make sure that Redirect URIs is set to https://my.home-assistant.io/redirect/oauth . Log out from Home Connect for Developers. Wait ~20minutes if you applied any changes there. And now you can start Home Connect Integration. Some people suggest to use private profile in web browser for integration process but in my case it was not needed.
Don't use My Home integration. You need to disable it in default_config in configuraiton.yaml. To achieve this I used
https://github.com/tronikos/default_config_disabler . In addition make sure there is no my: in configuration.yaml. Next go to https://developer.home-connect.com/ and make sure that Redirect URIs is set to
Hi, above solutions didn't work for me, so i found this https://github.com/home-assistant/core/blob/e83aa864266a08081180edabf24d93c6e8c665d8/homeassistant/helpers/config_entry_oauth2_flow.py#L138 home assistant looks for my component and always returns it's redirect.
I had to install this https://github.com/tronikos/default_config_disabler to disable my without messing with default_config. Worked after that with https://%myexternalurl%/auth/external/callback
The problem
I have made an developer account for Home Connect.
I logged out, wait for 15 minutes, set the powe on my dishwasser and goint to add the Home connect integration.
The integration askes me you need to connect to a external website wich I do and I am getting this error:
{ "error": "unauthorized_client", "error_description": "Invalid client id", "state": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbG93X2lkIjoiYmE0MjI5NmVmNzcwZTY5NjRhMzg4ZjY2NWE5ZmRhMTkiLCJyZWRpcmVjdF91cmkiOiJodHRwczovL215LmhvbWUtYXNzaXN0YW50LmlvL3JlZGlyZWN0L29hdXRoIn0.R5AnGxa6VkeUsUzxP48gPpVflBR-yBHvnmOgPz0VMHo" }
What I am doing wrong?
Thanks and greetings,
Erik.
What version of Home Assistant Core has the issue?
core-2024.6.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Connect
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response