diff --git a/bundles/org.openhab.binding.digiplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexZoneHandler.java b/bundles/org.openhab.binding.digiplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexZoneHandler.java index b38bb5d11cd..e929f3c686a 100644 --- a/bundles/org.openhab.binding.digiplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexZoneHandler.java +++ b/bundles/org.openhab.binding.digiplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexZoneHandler.java @@ -15,7 +15,7 @@ package org.openhab.binding.digiplex.internal.handler; import static org.openhab.binding.digiplex.internal.DigiplexBindingConstants.*; import static org.openhab.binding.digiplex.internal.handler.TypeUtils.openClosedFromBoolean; -import java.time.ZonedDateTime; +import java.time.Instant; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; @@ -199,7 +199,7 @@ public class DigiplexZoneHandler extends BaseThingHandler { if (event.getZoneNo() == DigiplexZoneHandler.this.zoneNo) { status = event.getStatus().toOpenClosedType(); extendedStatus = new StringType(event.getStatus().toString()); - lastTriggered = new DateTimeType(ZonedDateTime.now()); + lastTriggered = new DateTimeType(Instant.now()); updateChannels(false); updateAreaNo(event.getAreaNo()); }