Skip to content

Commit cddf881

Browse files
committed
docs: Add docstring and alias comments to the YXFanLevel enum.
1 parent f7473a9 commit cddf881

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

roborock/data/b01_q10/b01_q10_code_mappings.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,19 @@ class B01_Q10_DP(RoborockModeEnum):
119119

120120

121121
class YXFanLevel(RoborockModeEnum):
122+
"""The fan or vacuum level of the robot.
123+
124+
Note: The names used here are the v1 names, though the values
125+
have different aliases in the app bundles.
126+
"""
127+
122128
UNKNOWN = "unknown", -1
123-
OFF = "off", 0
129+
OFF = "off", 0 # close
124130
QUIET = "quiet", 1
125-
BALANCED = "balanced", 2
126-
TURBO = "turbo", 3
131+
BALANCED = "balanced", 2 # normal
132+
TURBO = "turbo", 3 # strong
127133
MAX = "max", 4
128-
MAX_PLUS = "max_plus", 8
134+
MAX_PLUS = "max_plus", 8 # super
129135

130136

131137
class YXWaterLevel(RoborockModeEnum):

0 commit comments

Comments
 (0)