I need a feature where I can switch the current map in my Roborock S6 to be able to put him in another floor in my house and start cleaning of selected rooms on that floor. All controlled by Home Assistant (except moving him physically to the other floor ).
Current functions of the Xiaomi integration let me start and stop a cleaning of selected rooms with
But if I start this service on floor A, but map from floor B is the current loaded map, the cleaning fails. The vacuum does not automatically load the correct map.
My Roborock S6 (Xiaomi) supports backup maps which can be used for multi floors in the house. It is possible to select the maps through the Xiaomi app. If I select the right map through the app first, room cleaning works as expected.
Target would be to have a service like
xiaomi_miio.vacuum_restore_map which I can call before the segment cleaning service.
The MIIO tooling seems to already support this command:
With https://github.com/rytilahti/python-miio/blob/cb15f5dc3517cdbf18f8217cc3424c04414ab8d8/miio/vacuum.py#L698 it seems to be possible to also get the map IDs.
Do not forget to vote!