private void createOHTFDeviceConfig(Map<String, String> deviceConfig)
throws ConfigurationException {
String deviceType = deviceConfig.get(ConfigKey.type.name());
if (deviceType.equals(TypeKey.servo.name())) {
logger.debug("{} setting servo config", LoggerConstants.CONFIG);
TFServoConfiguration servoConfiguration = modelFactory.createTFServoConfiguration();
OHTFDevice<TFServoConfiguration, ServoSubIDs> ohtfDevice = modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(ServoSubIDs.values()));
ohtfDevice.setTfConfig(servoConfiguration);
fillupConfig(ohtfDevice, deviceConfig);
} else if (deviceType.equals(TypeKey.bricklet_distance_ir.name())