From 5bfac5ec09145b9a0255d67d7bec6e3f00f7272d Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sat, 7 Aug 2021 13:16:34 +0200 Subject: [PATCH] Allow multiple unnamed libraries (#2132) --- esphome/core/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/__init__.py b/esphome/core/__init__.py index c61b288d09..c45d0969e1 100644 --- a/esphome/core/__init__.py +++ b/esphome/core/__init__.py @@ -653,7 +653,7 @@ class EsphomeCore: "".format(library, type(library)) ) for other in self.libraries[:]: - if other.name != library.name: + if other.name != library.name or other.name is None or library.name is None: continue if other.repository is not None: if library.repository is None or other.repository == library.repository: