python-roborock 0.39.0__tar.gz → 0.39.2__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.
Files changed (21) hide show
  1. {python_roborock-0.39.0 → python_roborock-0.39.2}/PKG-INFO +2 -2
  2. {python_roborock-0.39.0 → python_roborock-0.39.2}/pyproject.toml +2 -2
  3. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/code_mappings.py +1 -0
  4. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/containers.py +5 -3
  5. {python_roborock-0.39.0 → python_roborock-0.39.2}/LICENSE +0 -0
  6. {python_roborock-0.39.0 → python_roborock-0.39.2}/README.md +0 -0
  7. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/__init__.py +0 -0
  8. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/api.py +0 -0
  9. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/cli.py +0 -0
  10. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/cloud_api.py +0 -0
  11. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/command_cache.py +0 -0
  12. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/const.py +0 -0
  13. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/exceptions.py +0 -0
  14. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/local_api.py +0 -0
  15. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/protocol.py +0 -0
  16. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/py.typed +0 -0
  17. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/roborock_future.py +0 -0
  18. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/roborock_message.py +0 -0
  19. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/roborock_typing.py +0 -0
  20. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/util.py +0 -0
  21. {python_roborock-0.39.0 → python_roborock-0.39.2}/roborock/web_api.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-roborock
3
- Version: 0.39.0
3
+ Version: 0.39.2
4
4
  Summary: A package to control Roborock vacuums.
5
5
  Home-page: https://github.com/humbertogontijo/python-roborock
6
6
  License: GPL-3.0-only
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development :: Libraries
21
21
  Requires-Dist: aiohttp (>=3.8.2,<4.0.0)
22
22
  Requires-Dist: async-timeout
23
23
  Requires-Dist: click (>=8)
24
- Requires-Dist: construct (>=2.10.56,<3.0.0)
24
+ Requires-Dist: construct (>=2.10.57,<3.0.0)
25
25
  Requires-Dist: dacite (>=1.8.0,<2.0.0)
26
26
  Requires-Dist: paho-mqtt (>=1.6.1,<2.0.0)
27
27
  Requires-Dist: pycryptodome (>=3.18,<4.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-roborock"
3
- version = "0.39.0"
3
+ version = "0.39.2"
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"
@@ -29,7 +29,7 @@ pycryptodome = "^3.18"
29
29
  pycryptodomex = {version = "^3.18", markers = "sys_platform == 'darwin'"}
30
30
  paho-mqtt = "^1.6.1"
31
31
  dacite = "^1.8.0"
32
- construct = "^2.10.56"
32
+ construct = "^2.10.57"
33
33
 
34
34
 
35
35
  [build-system]
@@ -363,6 +363,7 @@ class RoborockCategory(Enum):
363
363
 
364
364
  WET_DRY_VAC = "roborock.wetdryvac"
365
365
  VACUUM = "robot.vacuum.cleaner"
366
+ WASHING_MACHINE = "roborock.wm"
366
367
  UNKNOWN = "UNKNOWN"
367
368
 
368
369
  def __missing__(self, key):
@@ -221,9 +221,11 @@ class HomeDataDevice(RoborockBase):
221
221
  f: bool | None = None
222
222
  device_features: DeviceFeatures | None = None
223
223
 
224
- def __post_init__(self):
225
- if self.feature_set is not None and self.new_feature_set is not None and self.new_feature_set != "":
226
- self.device_features = build_device_features(self.feature_set, self.new_feature_set)
224
+ # seemingly not just str like I thought - example: '0000000000002000' and '0000000000002F63'
225
+
226
+ # def __post_init__(self):
227
+ # if self.feature_set is not None and self.new_feature_set is not None and self.new_feature_set != "":
228
+ # self.device_features = build_device_features(self.feature_set, self.new_feature_set)
227
229
 
228
230
 
229
231
  @dataclass