ChannelBuilder channel = ChannelBuilder.create(_channelUID, itemType).withKind(parsedKind).withConfiguration(configuration).withType(channelTypeUID).withLabel(label).withAutoUpdatePolicy(autoUpdatePolicy); Channel _build = channel.build(); channels.add(_build); String _id = it.getId(); ChannelUID _channelUID = new ChannelUID(thingTypeUID, thingUID, _id); Channel _build = ChannelBuilder.create(_channelUID, channelType.getItemType()).withType(it.getChannelTypeUID()).withAutoUpdatePolicy(channelType.getAutoUpdatePolicy()).build(); channels.add(_build); } else {
.withAutoUpdatePolicy(channelType.getAutoUpdatePolicy());