mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[insteon] change .equals() to == for ThingStatus equality check (#12826)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
This commit is contained in:
parent
88e7ba3774
commit
53db5c4822
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user