Fixed closing homes to actually call the close on the homes. Updated the

lowest setting on the test dim function to b 1.

Fixes #438
Fixes #440
This commit is contained in:
bwssystems
2017-02-05 14:37:35 -06:00
parent 6b3ae1b971
commit 3016712ad8
14 changed files with 44 additions and 19 deletions

View File

@@ -151,10 +151,14 @@ public class HassHome implements Home {
public void closeHome() {
if(!validHass)
return;
if(hassMap == null)
return;
Iterator<String> keys = hassMap.keySet().iterator();
while(keys.hasNext()) {
String key = keys.next();
hassMap.get(key).closeClient();
}
hassMap = null;
}
}