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

some cleanups / auto remove old addons.

This commit is contained in:
pvizeli
2017-04-13 16:15:50 +02:00
committed by Pascal Vizeli
parent dbc080c24d
commit 40e5e6eb9d
10 changed files with 56 additions and 31 deletions

View File

@@ -88,6 +88,11 @@ class HassIO(object):
# start api
await self.api.start()
# HomeAssistant is already running / supervisor have only reboot
if await self.homeassistant.is_running():
_LOGGER.info("HassIO reboot detected")
return
# start addon mark as before
await self.addons.auto_boot(STARTUP_BEFORE)