mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-04-27 02:42:42 +00:00
Fix order for more details
This commit is contained in:
@@ -116,6 +116,11 @@ class Core(CoreSysAttributes):
|
||||
# Load secrets
|
||||
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
|
||||
if not self.sys_supported:
|
||||
_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!"
|
||||
)
|
||||
|
||||
async def start(self):
|
||||
"""Start Supervisor orchestration."""
|
||||
self.state = CoreStates.STARTUP
|
||||
await self.sys_api.start()
|
||||
|
||||
# Mark booted partition as healthy
|
||||
if self.sys_hassos.available:
|
||||
await self.sys_hassos.mark_healthy()
|
||||
|
||||
Reference in New Issue
Block a user