223224225226227228229230231232233
String hubId = entry.getKey(); InsteonHubProxy proxy = entry.getValue(); proxy.addListener(new AsyncEventPublisher(hubId)); // If activated, start proxy now if (activated) { proxy.start(); } } // Set properly configured setProperlyConfigured(true);