Spelling fixes (#11940)
This commit is contained in:
1 parent
94316f07a2
commit
55ee8959ba
80 files changed
+110
-110
No files matched your search
@@ -148,7 +148,7 @@ def get_component(comp_name) -> Optional[ModuleType]:
|
||||
# a namespace. We do not care about namespaces.
|
||||
# This prevents that when only
|
||||
# custom_components/switch/some_platform.py exists,
|
||||
# the import custom_components.switch would succeeed.
|
||||
# the import custom_components.switch would succeed.
|
||||
if module.__spec__.origin == 'namespace':
|
||||
continue
|
||||
|
||||
|
||||
Reference in new issue
Block a user