Fixed issue with http client pool and with test user for web interface.

This commit is contained in:
Admin
2017-11-17 12:37:46 -06:00
parent 5eca809c4a
commit 05b9f195d7
15 changed files with 99 additions and 33 deletions

View File

@@ -12,6 +12,7 @@ import org.slf4j.LoggerFactory;
import com.bwssystems.HABridge.NamedIP;
import com.bwssystems.HABridge.api.NameValue;
import com.bwssystems.HABridge.plugins.http.HTTPHandler;
import com.bwssystems.HABridge.plugins.http.HTTPHome;
import com.google.gson.Gson;
public class HomeAssistant {
@@ -21,7 +22,7 @@ public class HomeAssistant {
public HomeAssistant(NamedIP addressName) {
super();
anHttpHandler = new HTTPHandler();
anHttpHandler = HTTPHome.getHandler();
hassAddress = addressName;
}