IDevice tmpDevice = super.getDevice(deviceName, deviceList);
newDevice = tmpDevice;
if (tmpDevice == null) {
LOGGER.trace("add device {} from {}", deviceName, config);
if (device instanceof ISensor) {
ISensor sensor = new SensorModel();
sensor.setName(deviceName);
sensor.setEnabled(false);
((List<ISensor>) deviceList).add(sensor);
newDevice = sensor;
}
if (device instanceof IActuator) {
IActuator actuator = new ActuatorModel();