From 322480bba144adb82bad171cd06ae5694f657da3 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 17 Apr 2017 23:31:49 +0200 Subject: [PATCH] Fix bug with check installed --- hassio/addons/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/addons/__init__.py b/hassio/addons/__init__.py index 84889fbf9..3c5430447 100644 --- a/hassio/addons/__init__.py +++ b/hassio/addons/__init__.py @@ -144,7 +144,7 @@ class AddonManager(AddonsData): async def update(self, addon, version=None): """Update addon.""" - if self.is_installed(addon): + if not self.is_installed(addon): _LOGGER.error("Addon %s is not installed", addon) return False