-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
Can not setup roborock #134121
Comments
Home Assistant OS I am unable to setup the official integration due to the following errors. I am successful in installing the HACS roborock integration though - this method utilizes user/password rather than user/2FA. Not sure if that's what's going on here or if it runs deeper. =====
=====
=====
|
Hey there @Lash-L, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) roborock documentation |
Hi - there's a few other issues where I describe this further. But the tldr is that this is fixed and you just need to wait for 2025.1 |
@home-assistant close |
The problem
Logger: homeassistant.components.roborock
Source: components/roborock/init.py:219
integration: Roborock (documentation, issues)
First occurred: 6:22:32 PM (4 occurrences)
Last logged: 6:23:10 PM
Not setting up Sophie because the coordinator failed to get data for the first time using the offline client Please create an issue with the following error included: 'int' object has no attribute 'name'
=====
More errors and log:
Logger: homeassistant.components.roborock.coordinator
Source: helpers/update_coordinator.py:379
integration: Roborock (documentation, issues)
First occurred: 6:22:32 PM (4 occurrences)
Last logged: 6:23:10 PM
Unexpected error fetching roborock data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roborock/coordinator.py", line 110, in _async_update_data
await self._update_device_prop()
File "/usr/src/homeassistant/homeassistant/components/roborock/coordinator.py", line 99, in _update_device_prop
device_prop = await self.api.get_prop()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/roborock/version_1_apis/roborock_client_v1.py", line 271, in get_prop
status, clean_summary, consumable = await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
) # type: Status, CleanSummary, Consumable # type: ignore
^
File "/usr/local/lib/python3.13/site-packages/roborock/version_1_apis/roborock_client_v1.py", line 172, in get_status
data = self._status_type.from_dict(await self.cache[CacheableAttribute.status].async_value())
File "/usr/local/lib/python3.13/site-packages/roborock/containers.py", line 169, in from_dict
return cls(**data)
File "", line 62, in init
File "/usr/local/lib/python3.13/site-packages/roborock/containers.py", line 539, in post_init
self.mop_mode_name = self.mop_mode.name
^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'name'
=====
Logger: roborock.containers
Source: /usr/local/lib/python3.13/site-packages/roborock/containers.py:131
First occurred: 6:22:32 PM (4 occurrences)
Last logged: 6:23:10 PM
<enum 'RoborockMopModeCode'> has no members; specify
names=()
if you meant to create a new, empty, enumTraceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/roborock/containers.py", line 124, in convert_to_class_obj
converted_value = class_type(value)
File "/usr/local/lib/python3.13/enum.py", line 726, in call
raise TypeError(
f"{cls} has no members; specify
names=()
if you meant to create a new, empty, enum")
TypeError: <enum 'RoborockMopModeCode'> has no members; specify
names=()
if you meant to create a new, empty, enumWhat version of Home Assistant Core has the issue?
2024.12.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
roborock
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: