1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Fix race in Tasmota discovery (#42492)

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

View File

@@ -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)