mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Update supervisor.py
This commit is contained in:
parent
c4d7d671d1
commit
58c5ed7ba1
@ -50,7 +50,7 @@ class APISupervisor(object):
|
|||||||
"""Return host information."""
|
"""Return host information."""
|
||||||
list_addons = []
|
list_addons = []
|
||||||
for addon in self.addons.list_addons:
|
for addon in self.addons.list_addons:
|
||||||
if not addon.is_installed:
|
if addon.is_installed:
|
||||||
list_addons.append({
|
list_addons.append({
|
||||||
ATTR_NAME: addon.name,
|
ATTR_NAME: addon.name,
|
||||||
ATTR_SLUG: addon.slug,
|
ATTR_SLUG: addon.slug,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user