mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Fix log info about update on dev (#885)
This commit is contained in:
parent
ca376b3fcd
commit
2b5520405f
@ -61,12 +61,11 @@ class HassIO(CoreSysAttributes):
|
|||||||
async def start(self):
|
async def start(self):
|
||||||
"""Start Hass.io orchestration."""
|
"""Start Hass.io orchestration."""
|
||||||
# on release channel, try update itself
|
# on release channel, try update itself
|
||||||
# on dev mode, only read new versions
|
if self.sys_supervisor.need_update:
|
||||||
if not self.sys_dev and self.sys_supervisor.need_update:
|
if self.sys_dev:
|
||||||
if await self.sys_supervisor.update():
|
_LOGGER.warning("Ignore Hass.io updates on dev!")
|
||||||
|
elif await self.sys_supervisor.update():
|
||||||
return
|
return
|
||||||
else:
|
|
||||||
_LOGGER.info("Ignore Hass.io auto updates on dev channel")
|
|
||||||
|
|
||||||
# start api
|
# start api
|
||||||
await self.sys_api.start()
|
await self.sys_api.start()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user