mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Backup text updates (#23437)
* Backup text updates * Update ha-config-backup-backups.ts
This commit is contained in:
parent
44423812f4
commit
657bfc82ca
@ -129,9 +129,6 @@ class HaBackupConfigSchedule extends LitElement {
|
||||
<ha-md-list>
|
||||
<ha-md-list-item>
|
||||
<span slot="headline">Use automatic backups</span>
|
||||
<span slot="supporting-text">
|
||||
How often you want to create a backup.
|
||||
</span>
|
||||
|
||||
<ha-switch
|
||||
slot="end"
|
||||
@ -181,7 +178,8 @@ class HaBackupConfigSchedule extends LitElement {
|
||||
<ha-md-list-item>
|
||||
<span slot="headline">Backups to keep</span>
|
||||
<span slot="supporting-text">
|
||||
The number of backups that are saved
|
||||
Based on the maximum number of backups or how many days they
|
||||
should be kept.
|
||||
</span>
|
||||
<ha-md-select
|
||||
slot="end"
|
||||
|
@ -327,12 +327,6 @@ class DialogBackupOnboarding extends LitElement implements HassDialog {
|
||||
`;
|
||||
case "setup":
|
||||
return html`
|
||||
<p>
|
||||
It is recommended that you create a backup every day. You should
|
||||
keep three backups in at least two different locations, one of which
|
||||
should be off-site. Once you make your selection, your first backup
|
||||
will begin.
|
||||
</p>
|
||||
<ha-md-list class="full">
|
||||
<ha-md-list-item type="button" @click=${this._done}>
|
||||
<span slot="headline">Recommended settings</span>
|
||||
|
@ -167,7 +167,6 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
||||
title: "Locations",
|
||||
showNarrow: true,
|
||||
minWidth: "60px",
|
||||
maxWidth: "120px",
|
||||
template: (backup) => html`
|
||||
<div style="display: flex; gap: 4px;">
|
||||
${(backup.agent_ids || []).map((agentId) => {
|
||||
@ -181,7 +180,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
||||
<ha-svg-icon
|
||||
.path=${mdiHarddisk}
|
||||
title=${name}
|
||||
slot="graphic"
|
||||
style="flex-shrink: 0;"
|
||||
></ha-svg-icon>
|
||||
`;
|
||||
}
|
||||
@ -190,7 +189,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
||||
<ha-svg-icon
|
||||
.path=${mdiNas}
|
||||
title=${name}
|
||||
slot="graphic"
|
||||
style="flex-shrink: 0;"
|
||||
></ha-svg-icon>
|
||||
`;
|
||||
}
|
||||
@ -209,6 +208,7 @@ class HaConfigBackupBackups extends SubscribeMixin(LitElement) {
|
||||
referrerpolicy="no-referrer"
|
||||
alt=${name}
|
||||
slot="graphic"
|
||||
style="flex-shrink: 0;"
|
||||
/>
|
||||
`;
|
||||
})}
|
||||
|
Loading…
x
Reference in New Issue
Block a user