From b69ba8308c3d118ebe8c05dca0ee542797ec89e4 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Sun, 28 Nov 2021 23:50:58 +0100 Subject: [PATCH 1/2] Add returning home status for roborock s7+ --- 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..3a45dca61 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: "Returning home", # on s7+, see #1189 100: "Charging complete", 101: "Device offline", } From 2c9df3bd34f26a65cfffc3c93ea789ba8726e1c1 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Sat, 4 Dec 2021 16:52:57 +0100 Subject: [PATCH 2/2] roborock: 22 is emptying the bin, not returning home --- miio/integrations/vacuum/roborock/vacuumcontainers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/integrations/vacuum/roborock/vacuumcontainers.py b/miio/integrations/vacuum/roborock/vacuumcontainers.py index 3a45dca61..6afd6254c 100644 --- a/miio/integrations/vacuum/roborock/vacuumcontainers.py +++ b/miio/integrations/vacuum/roborock/vacuumcontainers.py @@ -113,7 +113,7 @@ def state(self) -> str: 16: "Going to target", 17: "Zoned cleaning", 18: "Segment cleaning", - 22: "Returning home", # on s7+, see #1189 + 22: "Emptying the bin", # on s7+, see #1189 100: "Charging complete", 101: "Device offline", }