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: