From 811977b366e6d18ac0127ab9b03f6b7ed17c0cdb Mon Sep 17 00:00:00 2001 From: Wendelin <12148533+wendevlin@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:58:26 +0100 Subject: [PATCH] Fix disable fields in general config (#22938) --- src/panels/config/core/ha-config-section-general.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/panels/config/core/ha-config-section-general.ts b/src/panels/config/core/ha-config-section-general.ts index 040dd77edf..22eb751cea 100644 --- a/src/panels/config/core/ha-config-section-general.ts +++ b/src/panels/config/core/ha-config-section-general.ts @@ -142,7 +142,7 @@ class HaConfigSectionGeneral extends LitElement { value="metric" .checked=${this._unitSystem === "metric"} @change=${this._unitSystemChanged} - .disabled=${this._submitting} + .disabled=${disabled} > ${this._unitSystem !== this._configuredUnitSystem() @@ -253,12 +253,15 @@ class HaConfigSectionGeneral extends LitElement { "ui.panel.config.core.section.core.core_config.edit_location_description" )} - ${this.hass.localize("ui.common.edit")}
- + ${this.hass!.localize("ui.panel.config.zone.detail.update")}