From 48717d9319d038645c2e6ca699a4b8a99000d998 Mon Sep 17 00:00:00 2001 From: Teemu R Date: Sun, 5 Dec 2021 17:32:54 +0100 Subject: [PATCH] Add emptying bin status for roborock s7+ (#1190) * Add returning home status for roborock s7+ * roborock: 22 is emptying the bin, not returning home --- miio/integrations/vacuum/roborock/vacuumcontainers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/miio/integrations/vacuum/roborock/vacuumcontainers.py b/miio/integrations/vacuum/roborock/vacuumcontainers.py index 9629efa94..6afd6254c 100644 --- a/miio/integrations/vacuum/roborock/vacuumcontainers.py +++ b/miio/integrations/vacuum/roborock/vacuumcontainers.py @@ -113,6 +113,7 @@ def state(self) -> str: 16: "Going to target", 17: "Zoned cleaning", 18: "Segment cleaning", + 22: "Emptying the bin", # on s7+, see #1189 100: "Charging complete", 101: "Device offline", }