mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Persist backup restore status after core restart (#136838)
* Persist backup restore status after core restart * Don't blow up if restore result file can't be removed * Update tests
This commit is contained in:
@@ -60,8 +60,10 @@ async def handle_info(
|
||||
"backups": [backup.as_frontend_json() for backup in backups.values()],
|
||||
"last_attempted_automatic_backup": manager.config.data.last_attempted_automatic_backup,
|
||||
"last_completed_automatic_backup": manager.config.data.last_completed_automatic_backup,
|
||||
"last_non_idle_event": manager.last_non_idle_event,
|
||||
"next_automatic_backup": manager.config.data.schedule.next_automatic_backup,
|
||||
"next_automatic_backup_additional": manager.config.data.schedule.next_automatic_backup_additional,
|
||||
"state": manager.state,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user