From f062f31ca2520b67542c8635ac55dca943b3a98f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 9 Apr 2018 23:10:12 +0200 Subject: [PATCH] Fix logic --- hassio/homeassistant.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hassio/homeassistant.py b/hassio/homeassistant.py index cbbff13f0..21916cfdc 100644 --- a/hassio/homeassistant.py +++ b/hassio/homeassistant.py @@ -216,9 +216,9 @@ class HomeAssistant(JsonConfig, CoreSysAttributes): async def _start(self): """Start HomeAssistant docker & wait.""" - if await self.instance.run(): - await self._block_till_run() - return False + if not await self.instance.run(): + return False + return await self._block_till_run() @process_lock def start(self):