Skip to content

Roborock integration cannot setup - Look here before creating a issue #133533

Closed
@Motya-HA

Description

The problem

Screenshot 2024-12-18 at 1 20 59 PM

What version of Home Assistant Core has the issue?

2024.12.4

What was the last working version of Home Assistant Core?

2024.12.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Roborock

Link to integration documentation on our website

https://www.home-assistant.io/integrations/roborock

Diagnostics information

Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/roborock/containers.py", line 112, in convert_to_class_obj
return_list.append(cls_type.from_dict(obj))
~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/site-packages/roborock/containers.py", line 166, in from_dict
return cls(**data)
TypeError: HomeDataDevice.init() got an unexpected keyword argument 'cid'
2024-12-18 06:47:38.226 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry sample@gmail.com for roborock
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/roborock/init.py", line 72, in async_setup_entry
device.duid: device for device in all_devices
^^^^^^^^^^^

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions