mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
Fix restore on older snapshots (#1655)
This commit is contained in:
parent
20c1183450
commit
72b7d2a123
@ -448,10 +448,6 @@ class Snapshot(CoreSysAttributes):
|
|||||||
self.sys_homeassistant.boot = self.homeassistant[ATTR_BOOT]
|
self.sys_homeassistant.boot = self.homeassistant[ATTR_BOOT]
|
||||||
self.sys_homeassistant.wait_boot = self.homeassistant[ATTR_WAIT_BOOT]
|
self.sys_homeassistant.wait_boot = self.homeassistant[ATTR_WAIT_BOOT]
|
||||||
|
|
||||||
# Was not needed before
|
|
||||||
if self.homeassistant[ATTR_IMAGE]:
|
|
||||||
self.sys_homeassistant.image = self.homeassistant[ATTR_IMAGE]
|
|
||||||
|
|
||||||
# API/Proxy
|
# API/Proxy
|
||||||
self.sys_homeassistant.api_port = self.homeassistant[ATTR_PORT]
|
self.sys_homeassistant.api_port = self.homeassistant[ATTR_PORT]
|
||||||
self.sys_homeassistant.api_ssl = self.homeassistant[ATTR_SSL]
|
self.sys_homeassistant.api_ssl = self.homeassistant[ATTR_SSL]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user