Fix race in Tasmota discovery (#42492)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-10-27 23:24:54 +01:00
1 parent d4efa938dd
commit 8800b83283
3 files changed
+15 -23

No files matched your search

@@ -832,7 +832,7 @@ async def test_attach_unknown_remove_device_from_registry(
await hass.async_block_till_done()
async def test_attach_remove_config_entry(hass, mqtt_mock, setup_tasmota, device_reg):
async def test_attach_remove_config_entry(hass, device_reg, mqtt_mock, setup_tasmota):
"""Test trigger cleanup when removing a Tasmota config entry."""
# Discover a device with device trigger
config = copy.deepcopy(DEFAULT_CONFIG)