Andre0512 / hon

Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home appliances like washing machines and air conditioners in 28 languages.
MIT License
1.22k stars 2.5k forks source link

[0.13.0] - hOn Authentication Error #168

Open KiraPC opened 2 months ago

KiraPC commented 2 months ago

After updating to the new integration version, I'm receiving the error:

2024-02-12 11:38:35.074 ERROR (MainThread) [pyhon.connection.auth] hOn Authentication Error

File "/usr/local/lib/python3.12/site-packages/pyhon/connection/auth.py", line 96, in _error_logger raise exceptions.HonAuthenticationError("Can't login")

Downgrading to the previous I figured out I had to change the password.

So, I changed the password via app and was re-able to log-in to both app and HA.

But updating again the integration, same error.

KiraPC commented 2 months ago

After investigating, I think the change password request was the problem. I had to delete and re-add the integration to make it works.

I guess it need a simple way to update the password.

maciekk05 commented 1 month ago

Unfortunately, I'm still encountering the same issue. I have exactly the same errors in the logs as you do. I've tried three different accounts (Google, iCloud, Interia - a local Polish provider), and I still encounter the same error. I also changed my password, uninstalled, and reinstalled the integration, but it still doesn't work. I'm not sure how to fix this.

EDIT: I waited almost 2 hours and tried to reinstall integration and it finished with success. Not all entities are active, but there is some progress.