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

This commit is contained in:
Paulus Schoutsen 2020-08-26 10:20:14 +02:00 committed by GitHub
parent eaac00acfc
commit 2a9da208d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 40 additions and 5 deletions

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