mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Fix BackupManager.async_get_backup (#130975)
This commit is contained in:
@@ -320,7 +320,7 @@ class BackupManager:
|
|||||||
protected=result.protected,
|
protected=result.protected,
|
||||||
size=result.size,
|
size=result.size,
|
||||||
)
|
)
|
||||||
backup.agent_ids.append(agent_ids[idx])
|
backup.agent_ids.append(agent_ids[idx])
|
||||||
|
|
||||||
return (backup, agent_errors)
|
return (backup, agent_errors)
|
||||||
|
|
||||||
|
@@ -884,6 +884,7 @@
|
|||||||
'backup': dict({
|
'backup': dict({
|
||||||
'agent_ids': list([
|
'agent_ids': list([
|
||||||
'test.remote',
|
'test.remote',
|
||||||
|
'backup.local',
|
||||||
]),
|
]),
|
||||||
'backup_id': 'abc123',
|
'backup_id': 'abc123',
|
||||||
'date': '1970-01-01T00:00:00.000Z',
|
'date': '1970-01-01T00:00:00.000Z',
|
||||||
|
Reference in New Issue
Block a user