Skip to content

Commit

Permalink
Review comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
  • Loading branch information
lsiepel committed Oct 26, 2024
1 parent 9a84c9f commit d637f7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private void processEvent(String content) {
case "DoorStatus":
if ("Pulse".equals(action)) {
if (content.contains("\"Relay\" : true")) {
ipCameraHandler.setChannelState(CHANNEL_DOOR_UNLOCK, OpenClosedType.CLOSED);
ipCameraHandler.setChannelState(CHANNEL_DOOR_UNLOCK, OnOffType.OFF);
} else if (content.contains("\"Status\" : \"Close\"")) {
ipCameraHandler.setChannelState(CHANNEL_DOOR_CONTACT, OpenClosedType.CLOSED);
} else if (content.contains("\"Status\" : \"Open\"")) {
Expand Down

0 comments on commit d637f7c

Please sign in to comment.