Skip to content

Unable to set up Roborock Custom Map #20

@vishnusaran

Description

@vishnusaran

I have added the Roborock Core Intergration and added the Roborock Custom Map via HACS.
When I try to add the Roborock Custom Maps Integration I get the following error

Image

I looked up the homeassistant.log and found the following error

025-04-30 08:06:54.228 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Roborock Custom Map for roborock_custom_map
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/roborock_custom_map/__init__.py", line 24, in async_setup_entry
    coordinators.extend(r_entry.runtime_data.v1)
                        ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'
2025-04-30 08:06:54.994 WARNING (MainThread) [homeassistant.components.camera] Updating roborock camera took longer than the scheduled update interval 0:00:05
2025-04-30 08:06:59.296 WARNING (MainThread) [py.warnings] /config/custom_components/roborock_custom_map/config_flow.py:22: RuntimeWarning: coroutine 'ConfigFlow.async_set_unique_id' was never awaited
  self.async_set_unique_id(DOMAIN)

I'm unsure how to resolve the issue. Could someone help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions