Warn when remote UI cannot be turned on (#2978)

* Warn when remote UI cannot be turned on

* Lint
This commit is contained in:
Paulus Schoutsen 2019-03-20 07:35:44 -07:00 committed by GitHub
parent bd6d082555
commit ebae469e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -104,6 +104,7 @@ export class CloudRemotePref extends LitElement {
}
fireEvent(this, "ha-refresh-cloud-status");
} catch (err) {
alert(err.message);
toggle.checked = !toggle.checked;
}
}

View File

@ -66,7 +66,6 @@ export class HUIView extends LitElement {
constructor() {
super();
console.log("CONSTRUCT HUI-VIEW");
this._cards = [];
this._badges = [];
}