use of org.eclipse.smarthome.core.thing.Channel in project smarthome by eclipse.
the class FSInternetRadioHandlerJavaTest method createChannel.
private Channel createChannel(ThingUID thingUID, String channelID, String acceptedItemType) {
ChannelUID channelUID = new ChannelUID(thingUID, channelID);
Channel radioChannel = ChannelBuilder.create(channelUID, acceptedItemType).build();
channels.add(radioChannel);
return radioChannel;
}
Aggregations