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
|
@ -524,7 +524,7 @@ async def test_custom_availability_payload(hass, mqtt_mock):
|
|||
|
||||
async def test_discovery_removal(hass, mqtt_mock, caplog):
|
||||
"""Test removal of discovered mqtt_json lights."""
|
||||
await async_start(hass, 'homeassistant', {})
|
||||
await async_start(hass, 'homeassistant', {'mqtt': {}})
|
||||
data = (
|
||||
'{ "name": "Beer",'
|
||||
' "platform": "mqtt_json",'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue