[miio] Fix last cleaning details end missing (#16388)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2024-02-09 09:41:52 +01:00 committed by GitHub
parent b36dc180d6
commit dd6d8c1bd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -506,7 +506,7 @@ public class MiIoVacuumHandler extends MiIoAbstractHandler {
.toString());
break;
case 1:
historyRecord.setStart(ZonedDateTime
historyRecord.setEnd(ZonedDateTime
.ofInstant(Instant.ofEpochSecond(value.longValue()), ZoneId.systemDefault())
.toString());
break;