Skip to content

fix(v1): skip multi-map rooms without a cloud room id - #1079

Merged
allenporter merged 1 commit into
Python-roborock:mainfrom
hCoureau:submit/fix/skip-unlinked-map-rooms
Nov 23, 2026
Merged

allenporter merged 1 commit into
Python-roborock:mainfrom
hCoureau:submit/fix/skip-unlinked-map-rooms

Conversation

@hCoureau

Copy link
Copy Markdown
Contributor

Problem

get_multi_maps_list can include a room with an empty iot_name_id even though the room is absent from get_room_mapping and the map. The empty entry can appear as an extra selectable room.

Changes

Treat an empty ID the same as a missing one when building the named room mapping. Entries with a non-empty ID, including "-1", are retained. An existing home cache picks up the change when it is rebuilt.

Testing

  • The regression test parses a map with linked and unlinked rooms. It checks that the empty-ID entry is dropped and that an entry with "-1" is retained.
  • 2,681 tests passed on each of Python 3.11 and 3.14 against upstream 321c6d5. The default suite excludes the 11 real-broker tests.
  • Pre-commit, commitlint, and source and wheel builds passed.

get_multi_maps_list can list a room entry with an empty iot_name_id that
is absent from get_room_mapping and the map. It was reported as an extra
selectable room in the home trait rooms.

Treat an empty iot_name_id like a missing one so such entries are skipped.
Entries with other ids, such as "-1", are still included.
@allenporter
allenporter merged commit 64a7d4f into Python-roborock:main Nov 23, 2026
9 checks passed
@hCoureau
hCoureau deleted the submit/fix/skip-unlinked-map-rooms branch November 23, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants