mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
Fix order for more details
This commit is contained in:
parent
7d6b00ea4a
commit
e70c9d8a30
@ -116,6 +116,11 @@ class Core(CoreSysAttributes):
|
|||||||
# Load secrets
|
# Load secrets
|
||||||
await self.sys_secrets.load()
|
await self.sys_secrets.load()
|
||||||
|
|
||||||
|
async def start(self):
|
||||||
|
"""Start Supervisor orchestration."""
|
||||||
|
self.state = CoreStates.STARTUP
|
||||||
|
await self.sys_api.start()
|
||||||
|
|
||||||
# Check if system is healthy
|
# Check if system is healthy
|
||||||
if not self.sys_supported:
|
if not self.sys_supported:
|
||||||
_LOGGER.critical("System running in a unsupported environment!")
|
_LOGGER.critical("System running in a unsupported environment!")
|
||||||
@ -124,11 +129,6 @@ class Core(CoreSysAttributes):
|
|||||||
"System running in a unhealthy state and need manual intervention!"
|
"System running in a unhealthy state and need manual intervention!"
|
||||||
)
|
)
|
||||||
|
|
||||||
async def start(self):
|
|
||||||
"""Start Supervisor orchestration."""
|
|
||||||
self.state = CoreStates.STARTUP
|
|
||||||
await self.sys_api.start()
|
|
||||||
|
|
||||||
# Mark booted partition as healthy
|
# Mark booted partition as healthy
|
||||||
if self.sys_hassos.available:
|
if self.sys_hassos.available:
|
||||||
await self.sys_hassos.mark_healthy()
|
await self.sys_hassos.mark_healthy()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user