alarm component

This commit is contained in:
Per Sandström committed 2015-09-13 07:42:38 +02:00
1 parent e0db473294
commit ab6cb43d5b
7 files changed
+231 -32

No files matched your search

+2
View File
@@ -123,6 +123,8 @@ def get_component(comp_name):
# custom_components/switch/some_platform.py exists,
# the import custom_components.switch would succeeed.
if module.__spec__.origin == 'namespace':
print("!!!!!!!!!!!!!!!!!!!!! " + module.__spec__.origin)
continue
_LOGGER.info("Loaded %s from %s", comp_name, path)