Skip to content

Commit

Permalink
Update bundles/org.openhab.binding.velbus/src/main/java/org/openhab/b…
Browse files Browse the repository at this point in the history
…inding/velbus/internal/handler/VelbusVMBELHandler.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Daniel Rosengarten <rosengarten01@hotmail.com>
  • Loading branch information
Rosen01 and lsiepel committed Apr 28, 2024
1 parent e978b29 commit 3e68197
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public void handleCommand(ChannelUID channelUID, Command command) {

byte[] packetBytes = packet.getBytes();
velbusBridgeHandler.sendPacket(packetBytes);
} else if (command instanceof OnOffType) {
byte commandByte = determineCommandByte((OnOffType) command);
} else if (command instanceof OnOffType commandAsOnOffType) {
byte commandByte = determineCommandByte(commandAsOnOffType);

VelbusRelayPacket packet = new VelbusRelayPacket(getModuleAddress(), commandByte);

Expand Down

0 comments on commit 3e68197

Please sign in to comment.