From adf355e54f79ea243a626df633de6895ce68e4d7 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 14 Jun 2021 14:11:22 +0200 Subject: [PATCH] Fix API watchdog never trigger (#2958) --- supervisor/misc/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/misc/tasks.py b/supervisor/misc/tasks.py index d234665e4..950060cc4 100644 --- a/supervisor/misc/tasks.py +++ b/supervisor/misc/tasks.py @@ -206,7 +206,7 @@ class Tasks(CoreSysAttributes): """ # If Home-Assistant is active if ( - not await self.sys_homeassistant.core.is_failed() + await self.sys_homeassistant.core.is_failed() or not self.sys_homeassistant.watchdog or self.sys_homeassistant.error_state ):