mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-23 01:40:11 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user