ohtfDevice.setTfConfig(tfInterruptListenerConfiguration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.bricklet_remote_switch.name())) {
logger.debug("{} setting BrickletRemoteSwitchConfiguration device_type {}",
LoggerConstants.CONFIG, deviceType);
BrickletRemoteSwitchConfiguration configuration =
modelFactory.createBrickletRemoteSwitchConfiguration();
OHTFDevice<BrickletRemoteSwitchConfiguration, NoSubIds> ohtfDevice =
modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(NoSubIds.values()));
ohtfDevice.setTfConfig(configuration);