Skip to content
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
307 changes: 0 additions & 307 deletions roborock/data/v1/v1_code_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,209 +281,10 @@ class RoborockFanSpeedE2(RoborockFanPowerCode):
turbo = 100


class RoborockFanSpeedS7(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106


class RoborockFanSpeedS7MaxV(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108


class RoborockFanSpeedS6Pure(RoborockFanPowerCode):
gentle = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106


class RoborockFanSpeedQ7Max(RoborockFanPowerCode):
quiet = 101
balanced = 102
turbo = 103
max = 104


class RoborockFanSpeedQRevoMaster(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedQRevoCurv(RoborockFanPowerCode):
quiet = 101
balanced = 102
turbo = 103
max = 104
off = 105
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedQRevoMaxV(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedP10(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedS8MaxVUltra(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedSaros10(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockFanSpeedSaros10R(RoborockFanPowerCode):
off = 105
quiet = 101
balanced = 102
turbo = 103
max = 104
custom = 106
max_plus = 108
smart_mode = 110


class RoborockMopModeCode(RoborockEnum):
"""Describes the mop mode of the vacuum cleaner."""


class RoborockMopModeQRevoCurv(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
smart_mode = 306


class RoborockMopModeS7(RoborockMopModeCode):
"""Describes the mop mode of the vacuum cleaner."""

standard = 300
deep = 301
custom = 302
deep_plus = 303


class RoborockMopModeS8ProUltra(RoborockMopModeCode):
standard = 300
deep = 301
deep_plus = 303
fast = 304
custom = 302
smart_mode = 306


class RoborockMopModeS8MaxVUltra(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
deep_plus_pearl = 305
smart_mode = 306


class RoborockMopModeSaros10R(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
smart_mode = 306


class RoborockMopModeQRevoMaster(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
smart_mode = 306


class RoborockMopModeQRevoMaxV(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
smart_mode = 306


class RoborockMopModeSaros10(RoborockMopModeCode):
standard = 300
deep = 301
custom = 302
deep_plus = 303
fast = 304
smart_mode = 306


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


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

off = 200
mild = 201
moderate = 202
intense = 203
custom = 204


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

Expand All @@ -494,114 +295,6 @@ class RoborockMopIntensityV2(RoborockMopIntensityCode):
custom = 207


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

off = 200
low = 201
medium = 202
high = 203
custom = 204
custom_water_flow = 207
smart_mode = 209


class RoborockMopIntensityQRevoCurv(RoborockMopIntensityCode):
off = 200
low = 201
medium = 202
high = 203
custom = 204
custom_water_flow = 207
smart_mode = 209


class RoborockMopIntensityQRevoMaxV(RoborockMopIntensityCode):
off = 200
low = 201
medium = 202
high = 203
custom = 204
custom_water_flow = 207
smart_mode = 209


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

off = 200
low = 201
medium = 202
high = 203
custom = 204
custom_water_flow = 207
smart_mode = 209


class RoborockMopIntensityS8MaxVUltra(RoborockMopIntensityCode):
off = 200
low = 201
medium = 202
high = 203
custom = 204
max = 208
smart_mode = 209
custom_water_flow = 207


class RoborockMopIntensitySaros10(RoborockMopIntensityCode):
off = 200
mild = 201
standard = 202
intense = 203
extreme = 208
custom = 204
smart_mode = 209


class RoborockMopIntensitySaros10R(RoborockMopIntensityCode):
off = 200
low = 201
medium = 202
high = 203
custom = 204
extreme = 250
vac_followed_by_mop = 235
smart_mode = 209


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

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


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

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


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

off = 200
low = 201
medium = 202
high = 203
custom_water_flow = 207


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

Expand Down
Loading
Loading