use of org.openhab.binding.nikobus.internal.config.ModuleChannel in project openhab1-addons by openhab.
the class NikobusGenericBindingProviderTest method parseChannelConfig.
private void parseChannelConfig(String name, String config, String address, int channel) throws BindingConfigParseException {
Item item = new SwitchItem(name);
provider.processBindingConfiguration("context", item, config);
ModuleChannel c = (ModuleChannel) provider.getItemConfig(name);
assertEquals(name, c.getName());
assertEquals(address, c.getAddress());
}
Aggregations