mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-14 13:30:51 +00:00
Fix API watchdog never trigger (#2958)
This commit is contained in:
@@ -206,7 +206,7 @@ class Tasks(CoreSysAttributes):
|
|||||||
"""
|
"""
|
||||||
# If Home-Assistant is active
|
# If Home-Assistant is active
|
||||||
if (
|
if (
|
||||||
not await self.sys_homeassistant.core.is_failed()
|
await self.sys_homeassistant.core.is_failed()
|
||||||
or not self.sys_homeassistant.watchdog
|
or not self.sys_homeassistant.watchdog
|
||||||
or self.sys_homeassistant.error_state
|
or self.sys_homeassistant.error_state
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user