]> git.basschouten.com Git - openhab-addons.git/commitdiff
[miio] Fix last cleaning details end missing (#16388)
authorMarcel <marcel@verpaalen.com>
Fri, 9 Feb 2024 08:41:52 +0000 (09:41 +0100)
committerGitHub <noreply@github.com>
Fri, 9 Feb 2024 08:41:52 +0000 (09:41 +0100)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoVacuumHandler.java

index 09e15bd4c79618df592fb34148f8d6c157332bea..b0cb52ef8193d713f307927551de5242e19d8675 100644 (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;