1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Improve error handling in backup restore (#4791)

This commit is contained in:
Mike Degatano
2023-12-29 05:45:50 -05:00
committed by GitHub
parent 37b6e09475
commit 6c66a7ba17
6 changed files with 132 additions and 82 deletions

View File

@@ -481,7 +481,8 @@ class HomeAssistant(FileConfiguration, CoreSysAttributes):
ATTR_REFRESH_TOKEN,
ATTR_WATCHDOG,
):
self._data[attr] = data[attr]
if attr in data:
self._data[attr] = data[attr]
@Job(
name="home_assistant_get_users",