Add capability-based room cleaning for MIoT vacuums - #2913
Open
eduardobittencourt wants to merge 1 commit into
Open
Add capability-based room cleaning for MIoT vacuums#2913eduardobittencourt wants to merge 1 commit into
eduardobittencourt wants to merge 1 commit into
Conversation
eduardobittencourt
force-pushed
the
feat/d102gl-room-cleaning
branch
from
August 5, 2026 16:44
0fa75f9 to
b847ab9
Compare
eduardobittencourt
force-pushed
the
feat/d102gl-room-cleaning
branch
from
August 5, 2026 16:49
b847ab9 to
1170c55
Compare
eduardobittencourt
marked this pull request as ready for review
August 5, 2026 16:53
eduardobittencourt
force-pushed
the
feat/d102gl-room-cleaning
branch
from
August 6, 2026 00:25
1170c55 to
e740d4c
Compare
eduardobittencourt
force-pushed
the
feat/d102gl-room-cleaning
branch
from
August 6, 2026 00:29
e740d4c to
d974880
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds Home Assistant room-cleaning support for MIoT vacuum entities whose device spec exposes a room map and room-sweep actions.
Implementation
room_information,get_room_configs, andstart_vacuum_room_sweep/start_room_sweep).CLEAN_AREAfeature to compatible vacuum entities.vacuum.get_segmentsroom discovery andvacuum.clean_areasegment routing.vacuumdomain when a previous vacuum integration has been removed from the entity registry.Validation
Validated with a Xiaomi X20 Pro D102GL using
hass-xiaomi-miotin local/LAN mode on Home Assistant 2026.7.4:CLEAN_AREA.vacuum/get_segmentsreturned all 10 rooms from the robot map.py_compileandgit diff --checkpass.