Skip to content

Commit 297f19e

Browse files
committed
fix: use correct index for clean records
1 parent e69d090 commit 297f19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/devices/traits/v1/clean_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def refresh(self) -> None:
2424
_LOGGER.debug("No clean records available in clean summary.")
2525
self.last_clean_record = None
2626
return
27-
last_record_id = self.records[-1]
27+
last_record_id = self.records[0]
2828
self.last_clean_record = await self.get_clean_record(last_record_id)
2929

3030
@classmethod

0 commit comments

Comments
 (0)