Skip to content

Commit

Permalink
Merge branch 'humbertogontijo:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rccoleman authored Dec 20, 2024
2 parents 19abaa9 + 71e8a9e commit a41bdf8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# CHANGELOG


## v2.8.3 (2024-12-19)

### Bug Fixes

- Add support for QRevo Master mop mode
([#259](https://github.com/humbertogontijo/python-roborock/pull/259),
[`db11c0f`](https://github.com/humbertogontijo/python-roborock/commit/db11c0f8ca7c08d2f795f77f7a652db4bfaa91ae))


## v2.8.2 (2024-12-19)

### Bug Fixes

- Add a mop mode to QRevoMaster
([#258](https://github.com/humbertogontijo/python-roborock/pull/258),
[`bf0feb7`](https://github.com/humbertogontijo/python-roborock/commit/bf0feb7ee8bc9933232e8235e6efa92a451ee19e))


## v2.8.1 (2024-12-18)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "python-roborock"
version = "2.8.1"
version = "2.8.3"
description = "A package to control Roborock vacuums."
authors = ["humbertogontijo <[email protected]>"]
license = "GPL-3.0-only"
Expand Down
9 changes: 9 additions & 0 deletions roborock/code_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,15 @@ class RoborockMopModeS8MaxVUltra(RoborockMopModeCode):
smart_mode = 306


class RoborockMopModeQRevoMaster(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."""

Expand Down
2 changes: 2 additions & 0 deletions roborock/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
RoborockMopModeS7,
RoborockMopModeS8MaxVUltra,
RoborockMopModeS8ProUltra,
RoborockMopModeQRevoMaster,
RoborockStartType,
RoborockStateCode,
)
Expand Down Expand Up @@ -577,6 +578,7 @@ class Q7MaxStatus(Status):
class QRevoMasterStatus(Status):
fan_power: RoborockFanSpeedQRevoMaster | None = None
water_box_mode: RoborockMopIntensityQRevoMaster | None = None
mop_mode: RoborockMopModeQRevoMaster | None = None


@dataclass
Expand Down

0 comments on commit a41bdf8

Please sign in to comment.