-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Description
The problem
I've got an error after authentication with the miele cloud. The setup process for the miele core integration (v 2024.12.0) fails with the following exception:
2026-01-31 15:51:10.815 DEBUG (MainThread) [custom_components.miele] Finished fetching miele data in 0.106 seconds (success: True)
2026-01-31 15:51:10.815 DEBUG (MainThread) [custom_components.miele] Miele devices in API account: ['.......']
2026-01-31 15:36:50.846 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Home Assistant Cloud for miele
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miele/__init__.py", line 267, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2611, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1101, in _load_platforms
platform_name: self._load_platform(platform_name)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1275, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1307, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/miele/vacuum.py", line 11, in <module>
from homeassistant.components.vacuum import (
...<10 lines>...
)
ImportError: cannot import name 'STATE_CLEANING' from 'homeassistant.components.vacuum' (/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py)
I've tried to uninstall and remove the miele integration that was working previously (before updating to core-2026.2.0b1). I'm not shure if the mentioned version of Miele (2024.12.0) is the right one.
I'm not using the Home Assistant Cloud (not logged in). I used the integration with local setup only. I do not get a menu for choosing the login method (any more?) when I try to add that integration.
What version of Home Assistant Core has the issue?
core-2026.2.0b1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Miele
Link to integration documentation on our website
https://www.home-assistant.io/integrations/miele/
Diagnostics information
Beside the intial error there are only these entries after activating the debug logs
2026-01-31 15:51:32.390 DEBUG (MainThread) [custom_components.miele] Manually updated miele data
2026-01-31 15:51:32.392 DEBUG (MainThread) [custom_components.miele] Manually updated miele data
2026-01-31 15:51:32.455 DEBUG (MainThread) [custom_components.miele] Manually updated miele data
2026-01-31 15:51:32.470 DEBUG (MainThread) [custom_components.miele] Manually updated miele data
Example YAML snippet
-Anything in the logs that might be useful for us?
Additional information
No response