Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)
This commit is contained in:
1 parent
eaac00acfc
commit
2a9da208d4
11 files changed
+40
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user