Pass hass_config to load_platform (#17952)

* Pass hass_config to load_platform

* Fix tests

* Lint
This commit is contained in:
Paulus Schoutsen authored and Paulus Schoutsen committed 2018-10-29 19:22:40 +01:00
1 parent 04e0fd1d46
commit 3a8891d9ac
21 files changed
+70 -57

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ def setup(hass, config):
}
for component in SPIDER_COMPONENTS:
load_platform(hass, component, DOMAIN, {})
load_platform(hass, component, DOMAIN, {}, config)
_LOGGER.debug("Connection with Spider API succeeded")
return True