.error(
"{} ignoring duplicate device uid: {}, subId {}, genericId {}. Fix your openhab.cfg!",
LoggerConstants.CONFIG, uid, subId);
device.getEnabledA().compareAndSet(true, false);
} else {
TFConfig deviceTfConfig = EcoreUtil.copy(deviceConfig.getTfConfig());
logger.debug("{} setting tfConfig for {}", LoggerConstants.TFINIT, logId);
((MTFConfigConsumer<EObject>) device).setTfConfig(deviceTfConfig);
device.enable();
logger.debug("{} adding/enabling device {} with config: {}", LoggerConstants.TFINIT,
logId, deviceTfConfig);