Switch to asyncio.wait for slow update warning implementation (#41184)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-10-05 15:28:15 +02:00
1 parent dde465da48
commit f50976a0b3
9 files changed
+62 -45

No files matched your search

+1
View File
@@ -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