diff --git a/src/panels/config/core/ha-config-section-general.ts b/src/panels/config/core/ha-config-section-general.ts index f3857b1bb7..635c455d79 100644 --- a/src/panels/config/core/ha-config-section-general.ts +++ b/src/panels/config/core/ha-config-section-general.ts @@ -25,6 +25,7 @@ import { SYMBOL_TO_ISO } from "../../../data/currency"; import "../../../layouts/hass-subpage"; import { haStyle } from "../../../resources/styles"; import type { HomeAssistant } from "../../../types"; +import "../../../components/ha-alert"; @customElement("ha-config-section-general") class HaConfigSectionGeneral extends LitElement { @@ -52,6 +53,8 @@ class HaConfigSectionGeneral extends LitElement { @state() private _languages?: { value: string; label: string }[]; + @state() private _error?: string; + protected render(): TemplateResult { const canEdit = ["storage", "default"].includes( this.hass.config.config_source @@ -65,6 +68,9 @@ class HaConfigSectionGeneral extends LitElement { .header=${this.hass.localize("ui.panel.config.core.caption")} >