mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 12:29:08 +00:00
Return only installed addons inside info call (#32)
This commit is contained in:
@@ -141,13 +141,18 @@ class AddonsData(Config):
|
||||
return set(self._system_data.keys())
|
||||
|
||||
@property
|
||||
def list_all(self):
|
||||
"""Return a list of all addons."""
|
||||
def data_all(self):
|
||||
"""Return a dict of all addons."""
|
||||
return {
|
||||
**self._system_data,
|
||||
**self._addons_cache
|
||||
}
|
||||
|
||||
@property
|
||||
def data_installed(self):
|
||||
"""Return a dict of installed addons."""
|
||||
return self._system_data.copy()
|
||||
|
||||
def list_startup(self, start_type):
|
||||
"""Get list of installed addon with need start by type."""
|
||||
addon_list = set()
|
||||
|
||||
Reference in New Issue
Block a user