await switch.manager.adaptation_tasks

This commit is contained in:
Bas Nijholt 2023-08-10 13:48:36 -07:00
commit eb572093a7
2 changed files with 1 additions and 2 deletions

View file

@ -590,6 +590,7 @@ async def test_manual_control(
async def update():
await switch._update_attrs_and_maybe_adapt_lights(context=context, transition=0)
await asyncio.gather(*switch.manager.adaptation_tasks)
await hass.async_block_till_done()
async def turn_light(state, **kwargs):