-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Current Integration seems to have no handling for a MyDyson account Password change.
Error below is given on HA start, only way to rectify is remove the MyDyson account from the Integration and re-add.
Not difficult or too destructive, but not intuitive or explained either.
Perhaps the integration could ask for re-entry of credentials instead?
Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 16:35:35 (2 occurrences)
Last logged: 16:36:52Error setting up entry MyDyson: myemail@myemail.co.uk (GB) for dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/init.py", line 106, in async_setup_entry
return await async_setup_account(hass, entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/init.py", line 80, in async_setup_account
devices = await hass.async_add_executor_job(account.devices)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/dyson_local/vendor/libdyson/cloud/account.py", line 204, in devices
response = self.request("GET", API_PATH_DEVICES)
File "/config/custom_components/dyson_local/vendor/libdyson/cloud/account.py", line 117, in request
raise DysonInvalidAuth
custom_components.dyson_local.vendor.libdyson.exceptions.DysonInvalidAuth