mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-20 00:46:02 +00:00
Updated UI for configuration and added shutdown of harmony and nest
connections.
This commit is contained in:
@@ -48,6 +48,14 @@ public class HarmonyHome {
|
||||
}
|
||||
}
|
||||
|
||||
public void shutdownHarmonyHubs() {
|
||||
Iterator<String> keys = hubs.keySet().iterator();
|
||||
while(keys.hasNext()) {
|
||||
String key = keys.next();
|
||||
hubs.get(key).getMyHarmony().shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
public HarmonyHandler getHarmonyHandler(String aName) {
|
||||
HarmonyHandler aHandler = null;
|
||||
if(aName == null || aName.equals("")) {
|
||||
|
||||
Reference in New Issue
Block a user