Bump jomnilink (#12444)

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
This commit is contained in:
Ethan Dye 2022-03-08 00:58:09 -07:00 committed by GitHub
parent e3ca3b01bf
commit 378a037df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<dependency>
<groupId>com.github.digitaldan</groupId>
<artifactId>jomnilink</artifactId>
<version>1.4.2</version>
<version>1.4.3</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -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

View File

@ -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,