Integration is no longer loaded #133
Open
opened 2023-11-26 13:43:19 +01:00 by KameDomotics
·
6 comments
No Branch/Tag Specified
main
v0.9
v0.8
v0.7
v0.11.0
v0.11.0-beta.1
v0.10.1
v0.10.1-beta.1
v0.10.0
v0.10.0-beta.1
v0.9.2-beta.1
v0.9.1
v0.9.1-beta.1
v0.9.0
v0.9.0-beta.10
v0.9.0-beta.9
v0.9.0-beta.8
v0.9.0-beta.7
v0.9.0-beta.6
v0.9.0-beta.5
v0.9.0-beta.4
v0.9.0-beta.3
v0.9.0-beta.2
v0.9.0-beta.1
v0.8.1
v0.8.1-beta.1
v0.8.0
v0.8.0-beta.10
v0.8.0-beta.9
v0.8.0-beta.8
v0.8.0-beta.7
v0.8.0-beta.6
v0.8.0-beta.5
v0.8.0-beta.4
v0.8.0-beta.3
v0.8.0-beta.2
v0.8.0-beta.1
v0.7.3
v0.7.3-beta.2
v0.7.3-beta.1
v0.7.2
v0.7.1
v0.7.0
v0.7.0-beta.8
v0.7.0-beta.7
v0.7.0-beta.6
v0.7.0-beta.5
v0.7.0-beta.4
v0.7.0-beta.3
v0.7.0-beta.2
v0.7.0-beta.1
v0.6.1
v0.6.0
v0.6.0-beta.8
v0.6.0-beta.7
v0.6.0-beta.6
v0.6.0-beta.5
v0.6.0-beta.4
v0.6.0-beta.3
v0.6.0-beta.2
v0.6.0-beta.1
v0.5.1
test
v0.5.1-beta.1
v0.5.0
v0.5.0-beta.5
v0.5.0-beta.4
v0.5.0-beta.3
v0.5.0-beta.2
v0.5.0-beta.1
v0.4.0
v0.3.0
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Labels
Clear labels
air conditioner
air purifier
air scanner
authentication error
bug
candy
dish washer
documentation
duplicate
enhancement
fridge
good first issue
haier
help wanted
hob
hood
hoover
invalid
microwave
new appliance
oven
pyhOn
question
robot vacuum cleaner
tumble dryer
washer dryer
washing machine
water heater
wine cellar
wontfix
Air conditioner (AC)
Air purifier (AP)
Air scanner (AS)
Authentication Error
Something isn't working
Candy
Dish washer (DW)
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Fridge (REF)
Good for newcomers
Haier
Extra attention is needed
Hob (IH)
Hood (HO)
Hoover
This doesn't seem right
Microwave (MW)
New Appliance Request
Oven (OV)
Issue in pyhOn
Further information is requested
Robot vacuum cleaner (RVC)
Tumble dryer (TD)
Washer dryer (WD)
Washing machine (WM)
Water Heater (WH)
Wine Cellar (WC)
This will not be worked on
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xiconfjs/hon#133
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The integration is no longer loaded. There is a "Failed to set up" message.
However, the hOn application on the smartphone is working.
Errors in the log:
`Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 13:27:06 (2 occurrences)
Last logged: 13:27:15
Error setting up entry my_mail@gmail.com for hon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/__init__.py", line 32, in async_setup_entry
hon = await Hon(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 66, in create
await self.setup()
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 97, in setup
appliances = await self.api.load_appliances()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/api.py", line 77, in load_appliances
async with self._hon.get(f"{const.API_URL}/commands/v1/appliance") as resp:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/base.py", line 64, in get
async with self._intercept(*args, **kwargs) as response:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 61, in _intercept
kwargs["headers"] = await self._check_headers(kwargs.get("headers", {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 51, in _check_headers
await self.auth.authenticate()
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 260, in authenticate
if not await self._get_token(url):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 232, in _get_token
await self._error_logger(response)
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 96, in _error_logger
raise exceptions.HonAuthenticationError("Can't login")
pyhon.exceptions.HonAuthenticationError: Can't login
`
Hi, did you change your password recently?
Hi, no, I have never changed my password.
It all happened suddenly, I noticed that the entities were all unavailable, I tried to reload the integration but it didn't work. I later deleted the integration and redid it, but now I no longer have any entities.
I also had this issue. The application on the phone was working.
But I was able to fix it.
Not working here either, unfortunately changing passwords didn't help. At first I had 2 factor activated so I deactivated it. Changed passwords, logged out and in again on the hOn app, but still the HA integration says it can't login.
Hi! I received the washer dryer today (model hwd100-b14959u1) but I have the same problem since the first configuration! Do you have any news on the resolution?
Thanks in advance, Domenico.
@KameDomotics, I solved the problem! The authentication failed, probably, because I had registered for the application through Google. By creating a new account directly from the app, the HA authentication problem disappeared.