mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[insteon] change .equals() to == for ThingStatus equality check (#12826)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
This commit is contained in:
+1
-1
@@ -415,7 +415,7 @@ public class InsteonDeviceHandler extends BaseThingHandler {
|
||||
|
||||
@Override
|
||||
public void handleCommand(ChannelUID channelUID, Command command) {
|
||||
if (ThingStatus.ONLINE.equals(getThing().getStatus())) {
|
||||
if (ThingStatus.ONLINE == getThing().getStatus()) {
|
||||
logger.debug("channel {} was triggered with the command {}", channelUID.getAsString(), command);
|
||||
|
||||
getInsteonBinding().sendCommand(channelUID.getAsString(), command);
|
||||
|
||||
Reference in New Issue
Block a user