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
@@ -131,7 +131,7 @@ class TestHelpersEntityComponent(unittest.TestCase):
|
||||
component.setup({})
|
||||
|
||||
discovery.load_platform(self.hass, DOMAIN, 'platform_test',
|
||||
{'msg': 'discovery_info'})
|
||||
{'msg': 'discovery_info'}, {DOMAIN: {}})
|
||||
|
||||
self.hass.block_till_done()
|
||||
|
||||
|
||||
Reference in new issue
Block a user