Always install requirements of after_dependencies (#79094)

pull/79095/head
Erik Montnemery 2022-09-26 15:59:01 +02:00 committed by Paulus Schoutsen
parent f2860fd6b3
commit a0f2571872
1 changed files with 4 additions and 5 deletions

View File

@ -357,11 +357,10 @@ async def async_process_deps_reqs(
if failed_deps := await _async_process_dependencies(hass, config, integration):
raise DependencyError(failed_deps)
if not hass.config.skip_pip and integration.requirements:
async with hass.timeout.async_freeze(integration.domain):
await requirements.async_get_integration_with_requirements(
hass, integration.domain
)
async with hass.timeout.async_freeze(integration.domain):
await requirements.async_get_integration_with_requirements(
hass, integration.domain
)
processed.add(integration.domain)