mirror of
https://github.com/home-assistant/supervisor
synced 2024-09-30 00:40:19 +02:00
Skip watchdog API test on landingpage (#4588)
* Skip watchdog API test on landingpage * Skip check from task
This commit is contained in:
parent
36d48d19fc
commit
0cd7bd47bb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user