Configure zone on panel even if the channel is not yet linked (#13380)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
This commit is contained in:
parent
6805f8461e
commit
7dfb963f92
|
@ -328,8 +328,7 @@ public class KonnectedHandler extends BaseThingHandler {
|
|||
payload.setDiscovery(config.discovery);
|
||||
this.getThing().getChannels().forEach(channel -> {
|
||||
// ChannelUID channelId = channel.getUID();
|
||||
if (isLinked(channel.getUID())) {
|
||||
// adds linked channels to list based on last value of Channel ID
|
||||
// adds channels to list based on last value of Channel ID
|
||||
// which is set to a number
|
||||
// get the zone number in integer form
|
||||
ZoneConfiguration zoneConfig = channel.getConfiguration().as(ZoneConfiguration.class);
|
||||
|
@ -373,9 +372,6 @@ public class KonnectedHandler extends BaseThingHandler {
|
|||
logger.debug("Channel {} is of type {} which is not supported by the konnected binding", channel,
|
||||
channelType);
|
||||
}
|
||||
} else {
|
||||
logger.debug("The Channel {} is not linked to an item", channel.getUID());
|
||||
}
|
||||
});
|
||||
// Create Json to Send to Konnected Module
|
||||
|
||||
|
|
Loading…
Reference in New Issue