mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-16 08:44:03 +02:00
await switch.manager.adaptation_tasks
This commit is contained in:
parent
29ce84b27c
commit
eb572093a7
2 changed files with 1 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue