v0.2.2 — Fix return-to-dock loop during mop-pad wash
Bug-fix release — stops a return-to-dock loop during mop-pad washing.
What's fixed
When a run had been paused because someone was home, the scheduler kept the robot on the dock by treating any cleaning state as it having escaped. But a mop-pad wash / dry cycle also reports cleaning while the robot is sitting on the dock — so the scheduler fired return_to_base on every wash-cycle blip and looped for the whole wash (state flipping cleaning ↔ docked every few seconds).
It now tells a genuine escape apart from the robot being home / washing / drying at the station, so a wash cycle is left alone. The return-on-arrival step is likewise skipped when the robot is already home.
Pre-existing (affected 0.2.0 and 0.2.1). Recommended update for anyone using presence-paused runs.
Full notes: https://github.com/botts7/dreame-scheduler/blob/main/CHANGELOG.md