python-roborock 7.12.1__py3-none-any.whl → 7.12.2__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: python-roborock
3
- Version: 7.12.1
3
+ Version: 7.12.2
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/
@@ -74,7 +74,7 @@ roborock/devices/traits/b01/q7/map.py,sha256=NfPQAEwNCUsb0SYGMxmGeq4q4rEHqDJK0zT
74
74
  roborock/devices/traits/b01/q7/map_content.py,sha256=O4UMnmX0-K-jxhOaknUZpWJSwxUuaTd2_D9_AP-elGY,4920
75
75
  roborock/devices/traits/v1/__init__.py,sha256=dXSulH8cKqgPSua_4XhLRVk7PyCQxcsW7-aXLRBI370,17098
76
76
  roborock/devices/traits/v1/child_lock.py,sha256=NeaPqcEoBRXvEzKZGonkyINkwCBOK3xa4zSWvJW66kA,1161
77
- roborock/devices/traits/v1/clean_summary.py,sha256=gwAwJMuJewrdSxmYEaD5mywYrqfz62__NB7sL23u98A,4641
77
+ roborock/devices/traits/v1/clean_summary.py,sha256=9I7XEL2eyxqwypHiND7e1U6Fx5-M7eG5a40SM5lTMhI,4727
78
78
  roborock/devices/traits/v1/command.py,sha256=2yNyCF_EDPkLE_vK6IN5VB8ZVypwrrwKTByCdQzJs3c,1494
79
79
  roborock/devices/traits/v1/common.py,sha256=fNjoFr5pYXkdhehj61Hyd7ImuF7qdQ-TOlEuwqD1Rnk,6610
80
80
  roborock/devices/traits/v1/consumeable.py,sha256=8r028GfP7LVLSXth42Bbq65MvuuDGjKWruRmFc5yoyU,2536
@@ -127,8 +127,8 @@ roborock/testing/channel.py,sha256=vjulT5MHBe8lAq6XITUqcxJVcCILWx7ZEcw5imTx0Tk,7
127
127
  roborock/testing/cloud.py,sha256=L2L0KlZDYaMuoV19KUQUoq5EAUDeNQ1lJ8Ew5YaOgjo,11946
128
128
  roborock/testing/simulator.py,sha256=g8ZUWVSjgAzuRRxWOCeOq-7deodyEItwUpqEw9RzCmQ,4347
129
129
  roborock/testing/v1_simulator.py,sha256=_LX_vsBMcB2Uu2QDt8QnQymgtVtbnwD5Xa7tmhiPAnY,14439
130
- python_roborock-7.12.1.dist-info/METADATA,sha256=WGq9ThJtBV5sycmoZTVCX-FEjeGWM__zE5xCvY4DjFA,5279
131
- python_roborock-7.12.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
132
- python_roborock-7.12.1.dist-info/entry_points.txt,sha256=EvC1nMqi9ZXKgZnqlNXA33v_3nzgPNjnM0mzWlrehnY,47
133
- python_roborock-7.12.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
134
- python_roborock-7.12.1.dist-info/RECORD,,
130
+ python_roborock-7.12.2.dist-info/METADATA,sha256=ZULsv1uHLLGPW-ZYGcBDhHIlluaM_fwPfqrIDkrdfzc,5279
131
+ python_roborock-7.12.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
132
+ python_roborock-7.12.2.dist-info/entry_points.txt,sha256=EvC1nMqi9ZXKgZnqlNXA33v_3nzgPNjnM0mzWlrehnY,47
133
+ python_roborock-7.12.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
134
+ python_roborock-7.12.2.dist-info/RECORD,,
@@ -82,7 +82,8 @@ class CleanSummaryTrait(CleanSummaryWithDetail, common.V1TraitMixin):
82
82
  _LOGGER.debug("No clean records available in clean summary.")
83
83
  self.last_clean_record = None
84
84
  return
85
- last_record_id = self.records[0]
85
+ # Record IDs are start timestamps; devices may return them in either order.
86
+ last_record_id = max(self.records)
86
87
  self.last_clean_record = await self.get_clean_record(last_record_id)
87
88
 
88
89
  async def get_clean_record(self, record_id: int) -> CleanRecord: