1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

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

This commit is contained in:
J. Nick Koston
2020-10-05 08:28:15 -05:00
committed by GitHub
parent dde465da48
commit f50976a0b3
9 changed files with 62 additions and 45 deletions

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