From 31d98ec93549a1bfd8292b0b5c48d9a0445aec9b Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 23 Dec 2024 09:37:50 +0100 Subject: [PATCH] Always show HA toggle in backup data settings (#23387) --- .../config/ha-backup-config-data.ts | 27 ++++++++----------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/src/panels/config/backup/components/config/ha-backup-config-data.ts b/src/panels/config/backup/components/config/ha-backup-config-data.ts index 0b014e7d12..b925cfd93a 100644 --- a/src/panels/config/backup/components/config/ha-backup-config-data.ts +++ b/src/panels/config/backup/components/config/ha-backup-config-data.ts @@ -157,24 +157,19 @@ class HaBackupConfigData extends LitElement { - - ${this.forceHomeAssistant - ? "Home Assistant settings are always included" - : "Home Assistant settings"} - + Home Assistant settings - The bare minimum needed to restore your system. + ${this.forceHomeAssistant + ? "The bare minimum needed to restore the system. It is always included in automatic backup data." + : "The bare minimum needed to restore your system."} - ${this.forceHomeAssistant - ? nothing - : html` - - `} +