1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Change handling with repo list

This commit is contained in:
Pascal Vizeli
2017-04-27 21:58:21 +02:00
parent dd38c73b85
commit c6cc8adbb7
6 changed files with 37 additions and 34 deletions

View File

@@ -42,7 +42,7 @@ class AddonsData(Config):
}
super().save()
def read_addons_repo(self):
def read_data_from_repositories(self):
"""Read data from addons repository."""
self._current_data = {}
@@ -67,7 +67,7 @@ class AddonsData(Config):
_LOGGER.warning("Can't read %s -> %s", addon,
humanize_error(addon_config, ex))
def merge_local_config(self):
def merge_update_config(self):
"""Update local config if they have update.
It need to be the same version as the local version is.