mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)
This commit is contained in:
@@ -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