Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-08-26 10:20:14 +02:00
1 parent eaac00acfc
commit 2a9da208d4
11 files changed
+40 -5

No files matched your search

+4
View File
@@ -124,6 +124,10 @@ async def _async_setup_component(
log_error("Integration not found.")
return False
if integration.disabled:
log_error(f"dependency is disabled - {integration.disabled}")
return False
# Validate all dependencies exist and there are no circular dependencies
if not await integration.resolve_dependencies():
return False