This commit it appears was to make it so that the vacuum could be resumed after it had been paused.
After pausing the vacuum, starting it re-starts the clean.
configuration.yaml
Hey there @rytilahti, @syssi, mind taking a look at this issue as its been labeled with a integration (xiaomi_miio) you are listed as a codeowner for? Thanks!
After pausing the vacuum, starting it re-starts the clean.
What exactly is restarted, just the zone or global cleaning? Do you still experience the old behaviour as mentioned in https://github.com/home-assistant/home-assistant/pull/22626#issue-266277914?
Furthermore, which model are you using?
@springstan
I have a five level house with quite small floors (one vacuum per floor) (only takes ~20 mins to clean a floor) so I don't bother using zones. I have a VIOMI V2 Pro for the kitchen / dining floor (as it mops and vacuums at the same time), and on the others I use the Roborock S5 Max
When I resume it re-cleans the areas that it has already done.
Thanks for providing more information to identify and hopefully solve the problem.
As far as I can tell #22626 only offers the ability to resume while cleaning a specified zone. So your use case is not included in either the HA integration or the used python-miio package. Furthermore, the HA documentation for this integration does not list the vacuum.start_pause service. In addition to that there is an open issue https://github.com/rytilahti/python-miio/issues/471 to add this feature to the used library.
Consequently, this is not a direct HA related issue rather a library one. A workaround would be to add zones for each floor to solve this issue temporarily.
I am going to close this issue for the reasons stated above.
Just wanted to add another report of this on the Xiaomi S6. I am using zoned cleaning via the app_segment_clean command, sending arrays of zones e.g. [17, 18].
Pausing the clean with pause and then re-starting it with start causes the zones to be lost and a new clean to start. I haven't had any success with sending the start_pause command yet either, but I may be doing it wrong.
Most helpful comment
Just wanted to add another report of this on the Xiaomi S6. I am using zoned cleaning via the
app_segment_cleancommand, sending arrays of zones e.g.[17, 18].Pausing the clean with
pauseand then re-starting it withstartcauses the zones to be lost and a new clean to start. I haven't had any success with sending thestart_pausecommand yet either, but I may be doing it wrong.