From 1d0ec10e415e0726ff85063804a9cb76c40b30d0 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 23 Dec 2024 09:29:49 +0100 Subject: [PATCH] Always show HA toggle in backup data settings --- .../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 0b014e7d1259..b925cfd93a13 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` - - `} +