Chachesd HomeAssistance instance for every view in app

This commit is contained in:
estevez-dev
2019-03-20 12:48:00 +02:00
parent 0efef33e53
commit 5ae580ecf1
3 changed files with 34 additions and 31 deletions

View File

@ -69,12 +69,12 @@ class HomeAssistant {
}
}
void updateSettings(String url, String password, bool useLovelace) {
/*void updateSettings(String url, String password, bool useLovelace) {
_webSocketAPIEndpoint = url;
_password = password;
_useLovelace = useLovelace;
Logger.d( "Use lovelace is $_useLovelace");
}
}*/
Future fetch() {
if ((_fetchCompleter != null) && (!_fetchCompleter.isCompleted)) {