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

Fix restore on older snapshots (#1655)

This commit is contained in:
Pascal Vizeli
2020-04-12 11:56:37 +02:00
committed by GitHub
parent 20c1183450
commit 72b7d2a123

View File

@@ -448,10 +448,6 @@ class Snapshot(CoreSysAttributes):
self.sys_homeassistant.boot = self.homeassistant[ATTR_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
self.sys_homeassistant.api_port = self.homeassistant[ATTR_PORT]
self.sys_homeassistant.api_ssl = self.homeassistant[ATTR_SSL]