-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to log on error #8
Comments
Hey, sorry for late response 😅 |
no the issue happens constantly and the integration does not work because of that, the mobile app works fine but this integration get's this issue constantly |
debug logging 2023-04-07 13:02:58.374 ERROR (MainThread) [root] Unable to login: 400
2023-04-07 13:02:58.401 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry hon@xxxxxxxxx for hon |
This could be related to #11. Can you test if the fix in |
still fails Error setting up entry hon@xxxxxxx.com for hon and Logger: pyhon.connection.auth Unable to login: 400
|
Sorry I had implemented the error handling a bit messy, I can absolutely not localize where the problem occurs. I have now improved the error handling a bit and published a new beta, can you please test the latest version |
I'm also facing this issue. Could this be a problem with illegal characters in the password field? |
It is possible depending on how badly they have written their api or if python is doing silly things my password includes these characters lower case letters, upper case letters, numbers and % |
This was a good hint! That was the problem, my python code did do silly things 😃 |
Hi, `This error originated from a custom integration. Logger: homeassistant.config_entries Error setting up entry xxx@xxx.co.uk for hon |
Hi, which version do you use? I'm really sure this is from an older version before |
I tested it numerous times last night with no luck. After a restart and on the beta version it now seems to work. Again, appreciate your time in making this integration. Hopefully, things go smoothly from here. |
Nice, you always need a restart if you install or update a custom integration via HACS. |
Logger: root
Source: custom_components/hon/init.py:32
Integration: Haier hOn (documentation, issues)
First occurred: 09:07:21 (1 occurrences)
Last logged: 09:07:21
Unable to login: 400
The text was updated successfully, but these errors were encountered: