case ZONE_STATUS_ARMING:
case ZONE_STATUS_CURRENT:
case ZONE_STATUS_LATCHED:
case ZONE_STATUS_ALL: {
ZoneProperties p = readZoneProperties(config.getNumber());
Zone zone = zoneMap.get(number);
if (zone == null) {
zone = new Zone(p);
zoneMap.put(number, zone);
}
config.setDevice(zone);
zone.setProperties(p);
zone.updateItem(provider.getItem(itemName), config,
eventPublisher);
}
break;
case BUTTON: {
ButtonProperties p = readButtonProperties(config.getNumber());