proxies.putAll(newProxies);
for (Map.Entry<String, InsteonHubProxy> entry : proxies
.entrySet()) {
String hubId = entry.getKey();
InsteonHubProxy proxy = entry.getValue();
proxy.addListener(new AsyncEventPublisher(hubId));
// If activated, start proxy now
if (activated) {
proxy.start();
}
}