Install requirements of after_dependencies when loading integrations (#29491)

* Install requirements of after_dependencies when loading integrations

* Fix smartthings test
This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2019-12-05 09:28:56 +01:00
1 parent 957e5018f4
commit e99184bf68
19 files changed
+57 -98

No files matched your search

+2 -2
View File
@@ -288,8 +288,8 @@ async def async_process_deps_reqs(
raise HomeAssistantError("Could not set up all dependencies.")
if not hass.config.skip_pip and integration.requirements:
await requirements.async_process_requirements(
hass, integration.domain, integration.requirements
await requirements.async_get_integration_with_requirements(
hass, integration.domain
)
processed.add(integration.domain)