Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)
This commit is contained in:
parent
eaac00acfc
commit
2a9da208d4
11 changed files with 40 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue