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
@@ -180,7 +180,7 @@ class TestLockMQTT(unittest.TestCase):
|
||||
|
||||
async def test_discovery_removal_lock(hass, mqtt_mock, caplog):
|
||||
"""Test removal of discovered lock."""
|
||||
await async_start(hass, 'homeassistant', {})
|
||||
await async_start(hass, 'homeassistant', {'mqtt': {}})
|
||||
data = (
|
||||
'{ "name": "Beer",'
|
||||
' "command_topic": "test_topic" }'
|
||||
|
||||
Reference in new issue
Block a user