mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 16:16:31 +00:00
Update tasks.py
This commit is contained in:
parent
4dfd11ffb4
commit
710f8570d2
@ -24,7 +24,7 @@ def addons_update(loop, addons):
|
|||||||
"""Check if a update is available of a addon and update it."""
|
"""Check if a update is available of a addon and update it."""
|
||||||
tasks = []
|
tasks = []
|
||||||
for addon in addons.list_addons:
|
for addon in addons.list_addons:
|
||||||
if not addon.is_installed:
|
if not addon.is_installed or not addon.auto_update:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if addon.version_installed != addon.version:
|
if addon.version_installed != addon.version:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user