mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-09 18:26:30 +00:00
Fix
This commit is contained in:
parent
0a68698912
commit
b546365aaa
@ -72,7 +72,7 @@ class APISupervisor(CoreSysAttributes):
|
||||
body = await api_validate(SCHEMA_OPTIONS, request)
|
||||
|
||||
if ATTR_CHANNEL in body:
|
||||
self._updater.mode = body[ATTR_CHANNEL]
|
||||
self._updater.channel = body[ATTR_CHANNEL]
|
||||
|
||||
if ATTR_TIMEZONE in body:
|
||||
self._config.timezone = body[ATTR_TIMEZONE]
|
||||
|
@ -61,7 +61,7 @@ class HassIO(CoreSysAttributes):
|
||||
if await self._supervisor.update():
|
||||
return
|
||||
else:
|
||||
_LOGGER.info("Ignore Hass.io auto updates on dev mode")
|
||||
_LOGGER.info("Ignore Hass.io auto updates on dev channel")
|
||||
|
||||
# start api
|
||||
await self._api.start()
|
||||
|
@ -79,7 +79,7 @@ class Tasks(CoreSysAttributes):
|
||||
|
||||
# don't perform a update on beta/dev channel
|
||||
if self._dev:
|
||||
_LOGGER.warning("Ignore Hass.io update on dev mode!")
|
||||
_LOGGER.warning("Ignore Hass.io update on dev channel!")
|
||||
return
|
||||
|
||||
_LOGGER.info("Found new Hass.io version")
|
||||
|
Loading…
x
Reference in New Issue
Block a user