python-roborock 6.0.0__tar.gz → 6.1.0__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-6.0.0 → python_roborock-6.1.0}/PKG-INFO +1 -1
- {python_roborock-6.0.0 → python_roborock-6.1.0}/pyproject.toml +1 -1
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/code_mappings.py +19 -2
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/dyad/dyad_code_mappings.py +1 -1
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/v1/v1_code_mappings.py +32 -32
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/v1/v1_containers.py +2 -2
- {python_roborock-6.0.0 → python_roborock-6.1.0}/.gitignore +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/LICENSE +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/README.md +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/broadcast_protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/callbacks.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/cli.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/const.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q10/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q10/b01_q10_code_mappings.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q10/b01_q10_containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q7/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q7/b01_q7_code_mappings.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q7/b01_q7_containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/dyad/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/dyad/dyad_containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/mower/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/mower/mower_containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/v1/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/v1/v1_clean_modes.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/zeo/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/zeo/zeo_code_mappings.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/zeo/zeo_containers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/device_features.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/README.md +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/cache.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/device.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/device_manager.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/file_cache.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/rpc/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/rpc/a01_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/rpc/b01_q10_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/rpc/b01_q7_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/rpc/v1_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/a01/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/button_light.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/child_lock.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/clean_history.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/command.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/common.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/consumable.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/do_not_disturb.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/dust_collection.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/map.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/network_info.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/remote.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/status.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/vacuum.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/volume.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/clean_summary.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/map.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/map_content.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/common.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/traits_mixin.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/child_lock.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/clean_summary.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/command.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/common.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/consumeable.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/device_features.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/do_not_disturb.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/dust_collection_mode.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/flow_led_status.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/home.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/led_status.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/map_content.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/maps.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/network_info.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/obstacle_photos.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/rooms.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/routines.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/smart_wash_params.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/status.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/valley_electricity_timer.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/volume.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/wash_towel_mode.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/transport/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/transport/channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/transport/local_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/transport/mqtt_channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/diagnostics.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/exceptions.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/b01_grid_layers.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/b01_map_parser.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/b01_q10_map_parser.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/b01_q10_overlays.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/b01_q10_render.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/map_parser.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/proto/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/proto/b01_scmap.proto +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/map/proto/b01_scmap_pb2.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/mqtt/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/mqtt/health_manager.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/mqtt/roborock_session.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/mqtt/session.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocols/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocols/a01_protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocols/b01_q10_protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocols/b01_q7_protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/protocols/v1_protocol.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/py.typed +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/roborock_message.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/roborock_typing.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/__init__.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/b01_q10_simulator.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/channel.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/cloud.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/simulator.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/testing/v1_simulator.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/util.py +0 -0
- {python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/web_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-roborock
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.1.0
|
|
4
4
|
Summary: A package to control Roborock vacuums.
|
|
5
5
|
Project-URL: Repository, https://github.com/python-roborock/python-roborock
|
|
6
6
|
Project-URL: Documentation, https://python-roborock.readthedocs.io/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "python-roborock"
|
|
3
|
-
version = "6.
|
|
3
|
+
version = "6.1.0"
|
|
4
4
|
description = "A package to control Roborock vacuums."
|
|
5
5
|
authors = [{ name = "humbertogontijo", email = "humbertogontijo@users.noreply.github.com" }, {name="Lash-L"}, {name="allenporter"}]
|
|
6
6
|
requires-python = ">=3.11, <4"
|
|
@@ -10,10 +10,22 @@ completed_warnings = set()
|
|
|
10
10
|
class RoborockEnum(IntEnum):
|
|
11
11
|
"""Roborock Enum for codes with int values"""
|
|
12
12
|
|
|
13
|
+
_display_name_: str | None
|
|
14
|
+
|
|
15
|
+
def __new__(cls, value: int, display_name: str | None = None) -> Self:
|
|
16
|
+
member = int.__new__(cls, value)
|
|
17
|
+
member._value_ = value
|
|
18
|
+
member._display_name_ = display_name
|
|
19
|
+
return member
|
|
20
|
+
|
|
13
21
|
@property
|
|
14
22
|
def name(self) -> str:
|
|
15
23
|
return super().name.lower()
|
|
16
24
|
|
|
25
|
+
@property
|
|
26
|
+
def display_name(self) -> str:
|
|
27
|
+
return self._display_name_ or self.name
|
|
28
|
+
|
|
17
29
|
@classmethod
|
|
18
30
|
def _missing_(cls: type[Self], key) -> Self:
|
|
19
31
|
if hasattr(cls, "unknown"):
|
|
@@ -30,8 +42,13 @@ class RoborockEnum(IntEnum):
|
|
|
30
42
|
return default_value
|
|
31
43
|
|
|
32
44
|
@classmethod
|
|
33
|
-
def as_dict(cls: type[Self]):
|
|
34
|
-
|
|
45
|
+
def as_dict(cls: type[Self]) -> dict[str, int]:
|
|
46
|
+
result: dict[str, int] = {}
|
|
47
|
+
for item in cls:
|
|
48
|
+
if item.name == "missing":
|
|
49
|
+
continue
|
|
50
|
+
result.setdefault(item.display_name, item.value)
|
|
51
|
+
return result
|
|
35
52
|
|
|
36
53
|
@classmethod
|
|
37
54
|
def as_enum_dict(cls: type[Self]):
|
|
@@ -95,7 +95,7 @@ class DyadError(RoborockEnum):
|
|
|
95
95
|
battery_temperature_protection = (
|
|
96
96
|
20007 # Battery temperature protection. Wait for the temperature to return to a normal range.
|
|
97
97
|
)
|
|
98
|
-
battery_temperature_protection_2 = 20008
|
|
98
|
+
battery_temperature_protection_2 = (20008, "battery_temperature_protection")
|
|
99
99
|
power_adapter_error = 20009 # Check if the power adapter is working properly.
|
|
100
100
|
dirty_charging_contacts = 10007 # Disconnection between the device and dock. Wipe charging contacts.
|
|
101
101
|
low_battery = 20017 # Low battery level. Charge before starting self-cleaning.
|
|
@@ -8,40 +8,40 @@ class RoborockFinishReason(RoborockEnum):
|
|
|
8
8
|
manual_interrupt = 21 # Cleaning interrupted by user
|
|
9
9
|
cleanup_interrupted = 24 # Cleanup interrupted
|
|
10
10
|
manual_interrupt_2 = 21
|
|
11
|
-
manual_interrupt_12 = 29
|
|
11
|
+
manual_interrupt_12 = (29, "manual_interrupt")
|
|
12
12
|
breakpoint = 32 # Could not continue cleaning
|
|
13
|
-
breakpoint_2 = 33
|
|
14
|
-
cleanup_interrupted_2 = 34
|
|
15
|
-
manual_interrupt_3 = 35
|
|
16
|
-
manual_interrupt_4 = 36
|
|
17
|
-
manual_interrupt_5 = 37
|
|
18
|
-
manual_interrupt_6 = 43
|
|
13
|
+
breakpoint_2 = (33, "breakpoint")
|
|
14
|
+
cleanup_interrupted_2 = (34, "cleanup_interrupted")
|
|
15
|
+
manual_interrupt_3 = (35, "manual_interrupt")
|
|
16
|
+
manual_interrupt_4 = (36, "manual_interrupt")
|
|
17
|
+
manual_interrupt_5 = (37, "manual_interrupt")
|
|
18
|
+
manual_interrupt_6 = (43, "manual_interrupt")
|
|
19
19
|
locate_fail = 45 # Positioning Failed
|
|
20
|
-
cleanup_interrupted_3 = 64
|
|
21
|
-
locate_fail_2 = 65
|
|
22
|
-
manual_interrupt_7 = 48
|
|
23
|
-
manual_interrupt_8 = 49
|
|
24
|
-
manual_interrupt_9 = 50
|
|
25
|
-
cleanup_interrupted_4 = 51
|
|
20
|
+
cleanup_interrupted_3 = (64, "cleanup_interrupted")
|
|
21
|
+
locate_fail_2 = (65, "locate_fail")
|
|
22
|
+
manual_interrupt_7 = (48, "manual_interrupt")
|
|
23
|
+
manual_interrupt_8 = (49, "manual_interrupt")
|
|
24
|
+
manual_interrupt_9 = (50, "manual_interrupt")
|
|
25
|
+
cleanup_interrupted_4 = (51, "cleanup_interrupted")
|
|
26
26
|
finished_cleaning = 52 # Finished cleaning
|
|
27
|
-
finished_cleaning_2 = 54
|
|
28
|
-
finished_cleaning_3 = 55
|
|
29
|
-
finished_cleaning_4 = 56
|
|
30
|
-
finished_clenaing_5 = 57
|
|
31
|
-
manual_interrupt_10 = 60
|
|
27
|
+
finished_cleaning_2 = (54, "finished_cleaning")
|
|
28
|
+
finished_cleaning_3 = (55, "finished_cleaning")
|
|
29
|
+
finished_cleaning_4 = (56, "finished_cleaning")
|
|
30
|
+
finished_clenaing_5 = (57, "finished_cleaning")
|
|
31
|
+
manual_interrupt_10 = (60, "manual_interrupt")
|
|
32
32
|
area_unreachable = 61 # Area unreachable
|
|
33
|
-
area_unreachable_2 = 62
|
|
33
|
+
area_unreachable_2 = (62, "area_unreachable")
|
|
34
34
|
washing_error = 67 # Washing error
|
|
35
35
|
back_to_wash_failure = 68 # Failed to return to the dock
|
|
36
|
-
cleanup_interrupted_5 = 101
|
|
37
|
-
breakpoint_4 = 102
|
|
38
|
-
manual_interrupt_11 = 103
|
|
39
|
-
cleanup_interrupted_6 = 104
|
|
40
|
-
cleanup_interrupted_7 = 105
|
|
41
|
-
cleanup_interrupted_8 = 106
|
|
42
|
-
cleanup_interrupted_9 = 107
|
|
43
|
-
cleanup_interrupted_10 = 109
|
|
44
|
-
cleanup_interrupted_11 = 110
|
|
36
|
+
cleanup_interrupted_5 = (101, "cleanup_interrupted")
|
|
37
|
+
breakpoint_4 = (102, "breakpoint")
|
|
38
|
+
manual_interrupt_11 = (103, "manual_interrupt")
|
|
39
|
+
cleanup_interrupted_6 = (104, "cleanup_interrupted")
|
|
40
|
+
cleanup_interrupted_7 = (105, "cleanup_interrupted")
|
|
41
|
+
cleanup_interrupted_8 = (106, "cleanup_interrupted")
|
|
42
|
+
cleanup_interrupted_9 = (107, "cleanup_interrupted")
|
|
43
|
+
cleanup_interrupted_10 = (109, "cleanup_interrupted")
|
|
44
|
+
cleanup_interrupted_11 = (110, "cleanup_interrupted")
|
|
45
45
|
patrol_success = 114 # Cruise completed
|
|
46
46
|
patrol_fail = 115 # Cruise failed
|
|
47
47
|
pet_patrol_success = 116 # Pet found
|
|
@@ -159,7 +159,7 @@ class ClearWaterBoxStatus(RoborockDssCodes):
|
|
|
159
159
|
|
|
160
160
|
okay = 0
|
|
161
161
|
out_of_water = 1
|
|
162
|
-
out_of_water_2 = 38
|
|
162
|
+
out_of_water_2 = (38, "out_of_water")
|
|
163
163
|
refill_error = 48
|
|
164
164
|
|
|
165
165
|
|
|
@@ -168,7 +168,7 @@ class DirtyWaterBoxStatus(RoborockDssCodes):
|
|
|
168
168
|
|
|
169
169
|
okay = 0
|
|
170
170
|
full_not_installed = 1
|
|
171
|
-
full_not_installed_2 = 39
|
|
171
|
+
full_not_installed_2 = (39, "full_not_installed")
|
|
172
172
|
drain_error = 49
|
|
173
173
|
|
|
174
174
|
|
|
@@ -232,7 +232,7 @@ class RoborockErrorCode(RoborockEnum):
|
|
|
232
232
|
clear_brush_exception = 42 # Check that the water filter has been correctly installed
|
|
233
233
|
clear_brush_exception_2 = 43 # Positioning button error
|
|
234
234
|
filter_screen_exception = 44 # Clean the dock water filter
|
|
235
|
-
mopping_roller_2 = 45 # Wash roller may be jammed
|
|
235
|
+
mopping_roller_2 = (45, "mopping_roller_1") # Wash roller may be jammed
|
|
236
236
|
up_water_exception = 48
|
|
237
237
|
drain_water_exception = 49
|
|
238
238
|
temperature_protection = 51 # Unit temperature protection
|
|
@@ -421,7 +421,7 @@ class RoborockStateCode(RoborockEnum):
|
|
|
421
421
|
segment_cleaning = 18
|
|
422
422
|
emptying_the_bin = 22 # on s7+
|
|
423
423
|
washing_the_mop = 23 # on a46
|
|
424
|
-
washing_the_mop_2 = 25
|
|
424
|
+
washing_the_mop_2 = (25, "washing_the_mop")
|
|
425
425
|
going_to_wash_the_mop = 26 # on a46
|
|
426
426
|
in_call = 28
|
|
427
427
|
mapping = 29
|
|
@@ -144,11 +144,11 @@ class StatusV2(RoborockBase):
|
|
|
144
144
|
|
|
145
145
|
@property
|
|
146
146
|
def error_code_name(self) -> str | None:
|
|
147
|
-
return self.error_code.
|
|
147
|
+
return self.error_code.display_name if self.error_code is not None else None
|
|
148
148
|
|
|
149
149
|
@property
|
|
150
150
|
def state_name(self) -> str | None:
|
|
151
|
-
return self.state.
|
|
151
|
+
return self.state.display_name if self.state is not None else None
|
|
152
152
|
|
|
153
153
|
@property
|
|
154
154
|
def current_map(self) -> int | None:
|
|
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-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q10/b01_q10_code_mappings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/data/b01_q7/b01_q7_code_mappings.py
RENAMED
|
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
|
|
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-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/button_light.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/child_lock.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/clean_history.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/consumable.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/do_not_disturb.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/dust_collection.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q10/network_info.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/clean_summary.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/b01/q7/map_content.py
RENAMED
|
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-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/device_features.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/do_not_disturb.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/dust_collection_mode.py
RENAMED
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/flow_led_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/obstacle_photos.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/smart_wash_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-6.0.0 → python_roborock-6.1.0}/roborock/devices/traits/v1/wash_towel_mode.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|