Skip to content

Multiple maps at HA 2025.12.0 #30

@znanywawa

Description

@znanywawa

I have installed newest version of HA 2025.12.0 and newest version of integration Roborock Custom Map Version 0.1.2.

There are two issues that I see:

  1. I have separeted maps for full house and for balcony, so now, balcony map is not extracted, error from logs:
Logger: homeassistant.components.image
Source: helpers/entity_platform.py:676
integration: Image ([documentation](https://www.home-assistant.io/integrations/image), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+image%22))
First occurred: 22:56:49 (2 occurrences)
Last logged: 22:58:16

Error adding entity image.roborock_s7_balcony_custom for domain image with platform roborock_custom_map
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 676, in _async_add_entities
    await self._async_add_entity(
        entity, False, entity_registry, config_subentry_id
    )
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 1002, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1380, in add_to_platform_finish
    self.async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1024, in async_write_ha_state
    self._async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1149, in _async_write_ha_state
    self.__async_calculate_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1090, in __async_calculate_state
    if extra_state_attributes := self.extra_state_attributes:
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/roborock_custom_map/image.py", line 111, in extra_state_attributes
    raise HomeAssistantError("Map flag not found in coordinator maps")
homeassistant.exceptions.HomeAssistantError: Map flag not found in coordinator maps
  1. For mu full house map (which is default), i have following entry in logs:
Logger: homeassistant.components.image
Source: helpers/entity_platform.py:843
integration: Image ([documentation](https://www.home-assistant.io/integrations/image), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+image%22))
First occurred: 22:56:49 (2 occurrences)
Last logged: 22:58:16

Platform roborock_custom_map does not generate unique IDs. ID 4dolein5te4vrisu9cx3wr_custom_map_Full Home already exists - ignoring image.roborock_s7_full_home_custom

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