diff --git a/src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java b/src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java index 4d68d31ad1711..5e66f9aefd27a 100644 --- a/src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java +++ b/src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java @@ -90,7 +90,9 @@ public void handleCommand(ChannelUID channelUID, Command command) { } Channel channel = this.thing.getChannel(channelUID.getId()); - + if (channel == null) { + logger.error("Channel {} not found", channelUID.toString()); + } if (channel.getChannelTypeUID().toString().equals("heos:ch_player")) { if (command.toString().equals("ON")) { selectedPlayer.put(channel.getProperties().get(PID), channelUID.getId());