From 26952ba2b77f48f2112fd533bc6e6b50f83b6f68 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 10 Aug 2019 09:26:52 +0000 Subject: [PATCH] Don't warn about HACS --- custom_components/hacs/hacsbase/data.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom_components/hacs/hacsbase/data.py b/custom_components/hacs/hacsbase/data.py index 655ace217a4..27f56c07ad6 100644 --- a/custom_components/hacs/hacsbase/data.py +++ b/custom_components/hacs/hacsbase/data.py @@ -212,7 +212,10 @@ async def restore(self): for repository in self.repositories: if repository.status.installed: installed_restore.append(repository.information.full_name) - if repository.information.full_name not in self.common.installed: + if ( + repository.information.full_name not in self.common.installed + and repository.information.full_name != "custom-components/hacs" + ): self.logger.warning( f"{repository.information.full_name} is not in common.installed" )