mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 04:05:20 +01:00
Also install after_deps (#28453)
This commit is contained in:
@@ -48,8 +48,12 @@ async def async_get_integration_with_requirements(
|
||||
hass, integration.domain, integration.requirements
|
||||
)
|
||||
|
||||
for dependency in integration.dependencies:
|
||||
await async_get_integration_with_requirements(hass, dependency)
|
||||
deps = integration.dependencies + (integration.after_dependencies or [])
|
||||
|
||||
if deps:
|
||||
await asyncio.gather(
|
||||
*[async_get_integration_with_requirements(hass, dep) for dep in deps]
|
||||
)
|
||||
|
||||
return integration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user