From 870db98749231e6fee4b40c7dadd841bab537ae6 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 19 Dec 2024 19:36:41 +0100 Subject: [PATCH] only if config undefined --- src/panels/config/backup/ha-config-backup-settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/backup/ha-config-backup-settings.ts b/src/panels/config/backup/ha-config-backup-settings.ts index c0c40ce565e1..f249af35eb16 100644 --- a/src/panels/config/backup/ha-config-backup-settings.ts +++ b/src/panels/config/backup/ha-config-backup-settings.ts @@ -33,7 +33,7 @@ class HaConfigBackupSettings extends LitElement { protected willUpdate(changedProperties: PropertyValues): void { super.willUpdate(changedProperties); - if (changedProperties.has("config")) { + if (changedProperties.has("config") && !this._config) { this._config = this.config; } }