Fix download unencrypted backup logic (#24045)

This commit is contained in:
Paul Bottein 2025-02-03 14:40:49 +01:00 committed by GitHub
parent 716cd19d41
commit 37ac796c8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,7 @@ export const downloadBackup = async (
if (!isProtected) {
downloadBackupFile(hass, backup.backup_id, preferedAgent);
return;
}
const encryptionKey = backupConfig?.create_backup?.password;