else {
zone.refreshItem(item, config, eventPublisher);
}
break;
case KEYPAD:
Keypad keypad = null;
//There is only one Keypad object per panel;
if(keypadMap.isEmpty()) {
keypad = new Keypad(keypadId);
keypadMap.put(keypadId, keypad);
}
else {
keypad = keypadMap.get(1);
}
if(event != null) {
keypad.handleEvent(item, config, eventPublisher, event);
}
else {
keypad.refreshItem(item, config, eventPublisher);
}
break;
default:
logger.debug("updateDeviceItem(): Item not updated.");
break;