Pass hass_config to load_platform (#17952)
* Pass hass_config to load_platform * Fix tests * Lint
This commit is contained in:
parent
b03e6050c5
commit
6ae345b01c
21 changed files with 70 additions and 56 deletions
|
@ -73,8 +73,8 @@ def setup(hass, config):
|
|||
if connection_failed >= len(gateways):
|
||||
return False
|
||||
|
||||
load_platform(hass, 'climate', DOMAIN)
|
||||
load_platform(hass, 'binary_sensor', DOMAIN)
|
||||
load_platform(hass, 'climate', DOMAIN, {}, config)
|
||||
load_platform(hass, 'binary_sensor', DOMAIN, {}, config)
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue