Skip to content

Commit b88d5f8

Browse files
committed
feat: add dynamic clean modes
1 parent f186bef commit b88d5f8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

roborock/clean_modes.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class CleanModes(RoborockModeEnum):
2626
TURBO = ("turbo", 103)
2727
MAX = ("max", 104)
2828
MAX_PLUS = ("max_plus", 108)
29-
CUSTOM = ("custom", 204)
30-
SMART_MODE = ("smart_mode", 209)
29+
CUSTOMIZED = ("custom", 106)
30+
SMART_MODE = ("smart_mode", 110)
3131

3232

3333
class CleanRoutes(RoborockModeEnum):
@@ -36,6 +36,8 @@ class CleanRoutes(RoborockModeEnum):
3636
DEEP_PLUS = ("deep_plus", 303)
3737
FAST = ("fast", 304)
3838
DEEP_PLUS_CN = ("deep_plus", 305)
39+
SMART_MODE = ("smart_mode", 306)
40+
CUSTOMIZED = ("custom", 302)
3941

4042

4143
class CleanModesOld(RoborockModeEnum):
@@ -53,8 +55,10 @@ class WaterModes(RoborockModeEnum):
5355
STANDARD = ("standard", 202)
5456
HIGH = ("high", 203)
5557
INTENSE = ("intense", 203)
56-
CUSTOM = ("custom", 207)
58+
CUSTOMIZED = ("custom", 204)
59+
CUSTOM = ("custom_water_flow", 207)
5760
EXTREME = ("extreme", 208)
61+
SMART_MODE = ("smart_mode", 209)
5862

5963

6064
def get_clean_modes(features: DeviceFeatures) -> list[CleanModes]:

0 commit comments

Comments
 (0)