Refactor yeelight scanner to avoid creating tasks to wait for scanner start (#113919)

This commit is contained in:
J. Nick Koston 2024-03-26 23:17:35 -10:00 committed by GitHub
parent 13d6ebaabf
commit 2421b42f10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 25 deletions

View file

@ -1413,6 +1413,7 @@ async def test_effects(hass: HomeAssistant) -> None:
}
},
)
await hass.async_block_till_done()
config_entry = MockConfigEntry(domain=DOMAIN, data=CONFIG_ENTRY_DATA)
config_entry.add_to_hass(hass)