Pass hass_config to load_platform (#17952)
* Pass hass_config to load_platform * Fix tests * Lint
This commit is contained in:
1 parent
04e0fd1d46
commit
3a8891d9ac
21 files changed
+70
-57
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user