modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(TemperatureIRSubIds.values()));
ohtfDevice.setTfConfig(configuration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.bricklet_moisture.name())) {
TFMoistureBrickletConfiguration configuration =
modelFactory.createTFMoistureBrickletConfiguration();
OHTFDevice<TFMoistureBrickletConfiguration, NoSubIds> ohtfDevice =
modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(NoSubIds.values()));
ohtfDevice.setTfConfig(configuration);