From 378a037df9b155e26cb45db49e0390f8fc2ab434 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Tue, 8 Mar 2022 00:58:09 -0700 Subject: [PATCH] Bump jomnilink (#12444) Signed-off-by: Ethan Dye --- bundles/org.openhab.binding.omnilink/pom.xml | 2 +- .../binding/omnilink/internal/OmnilinkBindingConstants.java | 2 +- .../omnilink/internal/handler/OmnilinkBridgeHandler.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.omnilink/pom.xml b/bundles/org.openhab.binding.omnilink/pom.xml index ff1b8d33c..fc4bec727 100644 --- a/bundles/org.openhab.binding.omnilink/pom.xml +++ b/bundles/org.openhab.binding.omnilink/pom.xml @@ -18,7 +18,7 @@ com.github.digitaldan jomnilink - 1.4.2 + 1.4.3 compile diff --git a/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/OmnilinkBindingConstants.java b/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/OmnilinkBindingConstants.java index 38a0803dc..b1d228242 100644 --- a/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/OmnilinkBindingConstants.java +++ b/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/OmnilinkBindingConstants.java @@ -104,7 +104,7 @@ public class OmnilinkBindingConstants { public static final String CHANNEL_ROOM_SCENE_D = "scene_d"; public static final String CHANNEL_ROOM_STATE = "state"; - public static final String CHANNEL_SYSTEMDATE = "system_date"; + public static final String CHANNEL_SYSTEM_DATE = "system_date"; public static final String CHANNEL_EVENT_LOG = "last_log"; // buttons diff --git a/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/handler/OmnilinkBridgeHandler.java b/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/handler/OmnilinkBridgeHandler.java index 6fbf5b164..206a5d602 100644 --- a/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/handler/OmnilinkBridgeHandler.java +++ b/bundles/org.openhab.binding.omnilink/src/main/java/org/openhab/binding/omnilink/internal/handler/OmnilinkBridgeHandler.java @@ -178,7 +178,7 @@ public class OmnilinkBridgeHandler extends BaseBridgeHandler implements Notifica } switch (channelUID.getId()) { - case CHANNEL_SYSTEMDATE: + case CHANNEL_SYSTEM_DATE: if (command instanceof DateTimeType) { ZonedDateTime zdt = ((DateTimeType) command).getZonedDateTime(); boolean inDaylightSavings = zdt.getZone().getRules().isDaylightSavings(zdt.toInstant()); @@ -492,7 +492,7 @@ public class OmnilinkBridgeHandler extends BaseBridgeHandler implements Notifica .append(String.format("%02d", status.getHour())).append(":") .append(String.format("%02d", status.getMinute())).append(":") .append(String.format("%02d", status.getSecond())).toString(); - updateState(CHANNEL_SYSTEMDATE, new DateTimeType(dateString)); + updateState(CHANNEL_SYSTEM_DATE, new DateTimeType(dateString)); } public Message reqObjectProperties(int objectType, int objectNum, int direction, int filter1, int filter2,