IDevice tmpDevice = super.getDevice(deviceName, deviceList);
newDevice = tmpDevice;
if (tmpDevice == null) {
// System.out.println("add device=" + config.getFullPath() + " " + deviceName);
if (device instanceof ISensor) {
ISensor sensor = new SensorModel();
sensor.setName(deviceName);
sensor.setEnabled(true);
((List<ISensor>) deviceList).add(sensor);
newDevice = sensor;
}
if (device instanceof IActuator) {
IActuator actuator = new ActuatorModel();