python-roborock 2.8.1rc1__tar.gz → 2.8.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/PKG-INFO +1 -1
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/pyproject.toml +2 -11
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/code_mappings.py +9 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/containers.py +5 -3
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/LICENSE +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/README.md +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/__init__.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/api.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/cli.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/cloud_api.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/command_cache.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/const.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/exceptions.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/local_api.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/protocol.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/py.typed +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/roborock_future.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/roborock_message.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/roborock_typing.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/util.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_1_apis/__init__.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_1_apis/roborock_client_v1.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_1_apis/roborock_local_client_v1.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_1_apis/roborock_mqtt_client_v1.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_a01_apis/__init__.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_a01_apis/roborock_client_a01.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_a01_apis/roborock_mqtt_client_a01.py +0 -0
- {python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/web_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "python-roborock"
|
|
3
|
-
version = "2.8.
|
|
3
|
+
version = "2.8.3"
|
|
4
4
|
description = "A package to control Roborock vacuums."
|
|
5
5
|
authors = ["humbertogontijo <humbertogontijo@users.noreply.github.com>"]
|
|
6
6
|
license = "GPL-3.0-only"
|
|
@@ -47,18 +47,9 @@ codespell = "*"
|
|
|
47
47
|
pyshark = "^0.6"
|
|
48
48
|
|
|
49
49
|
[tool.semantic_release]
|
|
50
|
+
branch = "main"
|
|
50
51
|
version_toml = ["pyproject.toml:tool.poetry.version"]
|
|
51
52
|
build_command = "pip install poetry && poetry build"
|
|
52
|
-
|
|
53
|
-
[semantic_release.branches.main]
|
|
54
|
-
match = "release"
|
|
55
|
-
prerelease = false
|
|
56
|
-
|
|
57
|
-
[tool.semantic_release.branches.other]
|
|
58
|
-
match = ".*"
|
|
59
|
-
prerelease_token = "rc"
|
|
60
|
-
prerelease = true
|
|
61
|
-
|
|
62
53
|
[tool.semantic_release.commit_parser_options]
|
|
63
54
|
allowed_tags = [
|
|
64
55
|
"chore",
|
|
@@ -304,6 +304,15 @@ class RoborockMopModeS8MaxVUltra(RoborockMopModeCode):
|
|
|
304
304
|
smart_mode = 306
|
|
305
305
|
|
|
306
306
|
|
|
307
|
+
class RoborockMopModeQRevoMaster(RoborockMopModeCode):
|
|
308
|
+
standard = 300
|
|
309
|
+
deep = 301
|
|
310
|
+
custom = 302
|
|
311
|
+
deep_plus = 303
|
|
312
|
+
fast = 304
|
|
313
|
+
smart_mode = 306
|
|
314
|
+
|
|
315
|
+
|
|
307
316
|
class RoborockMopIntensityCode(RoborockEnum):
|
|
308
317
|
"""Describes the mop intensity of the vacuum cleaner."""
|
|
309
318
|
|
|
@@ -39,6 +39,7 @@ from .code_mappings import (
|
|
|
39
39
|
RoborockMopModeS7,
|
|
40
40
|
RoborockMopModeS8MaxVUltra,
|
|
41
41
|
RoborockMopModeS8ProUltra,
|
|
42
|
+
RoborockMopModeQRevoMaster,
|
|
42
43
|
RoborockStartType,
|
|
43
44
|
RoborockStateCode,
|
|
44
45
|
)
|
|
@@ -141,12 +142,12 @@ class RoborockBase:
|
|
|
141
142
|
cls_annotations.update(getattr(base, "__annotations__", {}))
|
|
142
143
|
remove_keys = []
|
|
143
144
|
for key, value in data.items():
|
|
144
|
-
if value == "None" or value is None:
|
|
145
|
-
data[key] = None
|
|
146
|
-
continue
|
|
147
145
|
if key not in cls_annotations:
|
|
148
146
|
remove_keys.append(key)
|
|
149
147
|
continue
|
|
148
|
+
if value == "None" or value is None:
|
|
149
|
+
data[key] = None
|
|
150
|
+
continue
|
|
150
151
|
field_type: str = cls_annotations[key]
|
|
151
152
|
if "|" in field_type:
|
|
152
153
|
# It's a union
|
|
@@ -577,6 +578,7 @@ class Q7MaxStatus(Status):
|
|
|
577
578
|
class QRevoMasterStatus(Status):
|
|
578
579
|
fan_power: RoborockFanSpeedQRevoMaster | None = None
|
|
579
580
|
water_box_mode: RoborockMopIntensityQRevoMaster | None = None
|
|
581
|
+
mop_mode: RoborockMopModeQRevoMaster | None = None
|
|
580
582
|
|
|
581
583
|
|
|
582
584
|
@dataclass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_1_apis/roborock_client_v1.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-2.8.1rc1 → python_roborock-2.8.3}/roborock/version_a01_apis/roborock_client_a01.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|