Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roborock: Add support for Roborock G10S (roborock.vacuum.a46) #1437

Merged
merged 1 commit into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions miio/integrations/vacuum/roborock/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class CarpetCleaningMode(enum.Enum):
ROCKROBO_T7S = "roborock.vacuum.a14"
ROCKROBO_T7SPLUS = "roborock.vacuum.a23"
ROCKROBO_S7_MAXV = "roborock.vacuum.a27"
ROCKROBO_G10S = "roborock.vacuum.a46"
ROCKROBO_S7 = "roborock.vacuum.a15"
ROCKROBO_S6_MAXV = "roborock.vacuum.a10"
ROCKROBO_E2 = "roborock.vacuum.e2"
Expand All @@ -163,6 +164,7 @@ class CarpetCleaningMode(enum.Enum):
ROCKROBO_T7SPLUS,
ROCKROBO_S7,
ROCKROBO_S7_MAXV,
ROCKROBO_G10S,
ROCKROBO_S6_MAXV,
ROCKROBO_E2,
ROCKROBO_1S,
Expand Down
2 changes: 2 additions & 0 deletions miio/integrations/vacuum/roborock/vacuumcontainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def state(self) -> str:
17: "Zoned cleaning",
18: "Segment cleaning",
22: "Emptying the bin", # on s7+, see #1189
23: "Washing the mop", # on a46, #1435
26: "Going to wash the mop", # on a46, #1435
100: "Charging complete",
101: "Device offline",
}
Expand Down