Switch to asyncio.wait for slow update warning implementation (#41184)
This commit is contained in:
1 parent
dde465da48
commit
f50976a0b3
9 files changed
+62
-45
No files matched your search
@@ -494,6 +494,7 @@ async def test_is_opening_closing(hass, setup_comp):
|
||||
await hass.services.async_call(
|
||||
DOMAIN, SERVICE_OPEN_COVER, {ATTR_ENTITY_ID: COVER_GROUP}, blocking=True
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert hass.states.get(DEMO_COVER_POS).state == STATE_OPENING
|
||||
assert hass.states.get(DEMO_COVER_TILT).state == STATE_OPENING
|
||||
|
||||
Reference in new issue
Block a user