diff --git a/src/panels/dev-info/system-health-card.ts b/src/panels/dev-info/system-health-card.ts index fbe78da9b6..4f0d0408d6 100644 --- a/src/panels/dev-info/system-health-card.ts +++ b/src/panels/dev-info/system-health-card.ts @@ -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 = {