This commit is contained in:
pvizeli 2017-04-27 17:18:06 +02:00 committed by Pascal Vizeli
parent d142ea5d23
commit db20ea95d9
3 changed files with 4 additions and 3 deletions

View File

@ -90,7 +90,7 @@ class AddonManager(AddonsData):
# remove stalled addons
for addon in self.list_removed:
_LOGGER.warning("Dedicated addon '%s' found!", addon)
_LOGGER.warning("Dedicated addon '%s' found!", addon)
async def auto_boot(self, start_type):
"""Boot addons with mode auto."""

View File

@ -74,7 +74,7 @@ class AddonsRepo(object):
return True
class AddonsRepoHassIO(AddonsRepo)
class AddonsRepoHassIO(AddonsRepo):
"""HassIO addons repository."""
def __init__(self, config, loop):

View File

@ -33,7 +33,8 @@ API_ENDPOINT = 'api_endpoint'
SCHEMA_CONFIG = vol.Schema({
vol.Optional(
HOMEASSISTANT_IMAGE default=os.environ['HOMEASSISTANT_REPOSITORY']):
HOMEASSISTANT_IMAGE,
default=os.environ.get('HOMEASSISTANT_REPOSITORY'):
vol.Coerce(str),
vol.Optional(UPSTREAM_BETA, default=False): vol.Boolean(),
vol.Optional(API_ENDPOINT): vol.Coerce(str),