|| deviceType.equals(TypeKey.voltageCurrent_voltage.name())
|| deviceType.equals(TypeKey.voltageCurrent_current.name())
|| deviceType.equals(TypeKey.voltageCurrent_power.name())
|| deviceType.equals(TypeKey.bricklet_halleffect)) {
logger.debug("{} setting base config", LoggerConstants.CONFIG);
TFBaseConfiguration tfBaseConfiguration = modelFactory.createTFBaseConfiguration();
if (deviceType.equals(TypeKey.bricklet_barometer)) {
OHTFDevice<TFBaseConfiguration, BarometerSubIDs> ohtfDevice =
modelFactory.createOHTFDevice();
ohtfDevice.getSubDeviceIds().addAll(Arrays.asList(BarometerSubIDs.values()));
ohtfDevice.setTfConfig(tfBaseConfiguration);