From 0cd7bd47bb6e583d8639f3a9d015a209e79a688a Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Fri, 29 Sep 2023 09:17:22 -0400 Subject: [PATCH] Skip watchdog API test on landingpage (#4588) * Skip watchdog API test on landingpage * Skip check from task --- supervisor/misc/tasks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/supervisor/misc/tasks.py b/supervisor/misc/tasks.py index 55dd60fae..d7a665e1d 100644 --- a/supervisor/misc/tasks.py +++ b/supervisor/misc/tasks.py @@ -7,6 +7,7 @@ from ..addons.const import ADDON_UPDATE_CONDITIONS from ..const import AddonState from ..coresys import CoreSysAttributes from ..exceptions import AddonsError, HomeAssistantError, ObserverError +from ..homeassistant.const import LANDINGPAGE from ..jobs.decorator import Job, JobCondition from ..plugins.const import PLUGIN_UPDATE_CONDITIONS from ..utils.sentry import capture_exception @@ -142,6 +143,9 @@ class Tasks(CoreSysAttributes): if self.sys_homeassistant.error_state: # Home Assistant is in an error state, this is handled by the rollback feature return + if self.sys_homeassistant.version == LANDINGPAGE: + # Skip watchdog for landingpage + return if not await self.sys_homeassistant.core.is_running(): # The home assistant container is not running return