mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 17:56:46 +00:00
Check system health loaded (#2861)
This commit is contained in:
parent
00c08a09db
commit
339be43eea
@ -98,6 +98,9 @@ class SystemHealthCard extends LitElement {
|
||||
|
||||
private async _fetchInfo() {
|
||||
try {
|
||||
if (!("system_health" in this.hass!.config.components)) {
|
||||
throw new Error();
|
||||
}
|
||||
this._info = await fetchSystemHealthInfo(this.hass!);
|
||||
} catch (err) {
|
||||
this._info = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user