[homekit] switch to official Java HAP lib release (#11671)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
This commit is contained in:
parent
c6798ea4fa
commit
66d6a3f0a3
|
@ -20,9 +20,9 @@
|
|||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.j-n-k</groupId>
|
||||
<artifactId>hap-java</artifactId>
|
||||
<version>2.1.0.OH</version>
|
||||
<groupId>io.github.hap-java</groupId>
|
||||
<artifactId>hap</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -74,7 +74,7 @@ public class HomekitGarageDoorOpenerImpl extends AbstractHomekitAccessoryImpl im
|
|||
} else if (stringValue.equalsIgnoreCase(settings.doorCurrentStateOpening)) {
|
||||
mode = CurrentDoorStateEnum.OPENING;
|
||||
} else if (stringValue.equalsIgnoreCase(settings.doorCurrentStateStopped)) {
|
||||
mode = CurrentDoorStateEnum.SOPPED;
|
||||
mode = CurrentDoorStateEnum.STOPPED;
|
||||
} else if (stringValue.equals("UNDEF") || stringValue.equals("NULL")) {
|
||||
logger.warn("Current door state not available. Relaying value of CLOSED to HomeKit");
|
||||
mode = CurrentDoorStateEnum.CLOSED;
|
||||
|
|
Loading…
Reference in New Issue