diff --git a/miio/vacuum.py b/miio/vacuum.py index c351b48f3..2741b977d 100644 --- a/miio/vacuum.py +++ b/miio/vacuum.py @@ -191,7 +191,7 @@ def clean_history(self) -> CleaningSummary: @command() def last_clean_details(self) -> CleaningDetails: """Return details from the last cleaning.""" - last_clean_id = self.clean_history().ids.pop() + last_clean_id = self.clean_history().ids.pop(0) return self.clean_details(last_clean_id, return_list=False) @command(