Skip to content

Commit

Permalink
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions roborock/code_mappings.py
Original file line number Diff line number Diff line change
@@ -163,6 +163,7 @@ class RoborockFanSpeedS6Pure(RoborockFanPowerCode):
balanced = 102
turbo = 103
max = 104
custom = 106


class RoborockFanSpeedQ7Max(RoborockFanPowerCode):
@@ -226,6 +227,16 @@ class RoborockMopIntensityV2(RoborockMopIntensityCode):
custom = 207


class RoborockMopIntensityS5Max(RoborockMopIntensityCode):
"""Describes the mop intensity of the vacuum cleaner."""

off = 200
low = 201
medium = 202
high = 203
custom = 204


class RoborockDockErrorCode(RoborockEnum):
"""Describes the error code of the dock."""

3 changes: 2 additions & 1 deletion roborock/containers.py
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
RoborockFanSpeedS7,
RoborockFanSpeedS7MaxV,
RoborockMopIntensityCode,
RoborockMopIntensityS5Max,
RoborockMopIntensityS7,
RoborockMopIntensityV2,
RoborockMopModeCode,
@@ -309,7 +310,7 @@ class S4MaxStatus(Status):
@dataclass
class S5MaxStatus(Status):
fan_power: Optional[RoborockFanSpeedS6Pure] = None
water_box_mode: Optional[RoborockMopIntensityV2] = None
water_box_mode: Optional[RoborockMopIntensityS5Max] = None


@dataclass

0 comments on commit 4d56021

Please sign in to comment.