From d978ec00aa72653e78ecc3d13bb7bb6a5aa69cb2 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 11 Jul 2017 23:08:47 +0200 Subject: [PATCH] fix progress v2 --- hassio/homeassistant.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hassio/homeassistant.py b/hassio/homeassistant.py index 5ed908454..0e00542bb 100644 --- a/hassio/homeassistant.py +++ b/hassio/homeassistant.py @@ -148,10 +148,14 @@ class HomeAssistant(JsonConfig): """ return self.docker.logs() - @property def is_running(self): """Return True if docker container is running. Return a coroutine. """ - return self.docker.is_running + return self.docker.is_running() + + @property + def in_progress(self): + """Return True if a task is in progress.""" + return self.docker.in_progress