mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Warn when remote UI cannot be turned on (#2978)
* Warn when remote UI cannot be turned on * Lint
This commit is contained in:
parent
bd6d082555
commit
ebae469e7d
@ -104,6 +104,7 @@ export class CloudRemotePref extends LitElement {
|
|||||||
}
|
}
|
||||||
fireEvent(this, "ha-refresh-cloud-status");
|
fireEvent(this, "ha-refresh-cloud-status");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
alert(err.message);
|
||||||
toggle.checked = !toggle.checked;
|
toggle.checked = !toggle.checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,6 @@ export class HUIView extends LitElement {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
console.log("CONSTRUCT HUI-VIEW");
|
|
||||||
this._cards = [];
|
this._cards = [];
|
||||||
this._badges = [];
|
this._badges = [];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user