From e850ccb82cd6f4250343f2b12d922235915f9715 Mon Sep 17 00:00:00 2001 From: Penny Wood Date: Thu, 25 Apr 2019 00:55:37 +0800 Subject: [PATCH] Fixed test (#23343) --- tests/components/mobile_app/test_entity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/mobile_app/test_entity.py b/tests/components/mobile_app/test_entity.py index 3d8e575f686..e98307468d1 100644 --- a/tests/components/mobile_app/test_entity.py +++ b/tests/components/mobile_app/test_entity.py @@ -36,6 +36,7 @@ async def test_sensor(hass, create_registrations, webhook_client): # noqa: F401 json = await reg_resp.json() assert json == {'success': True} + await hass.async_block_till_done() entity = hass.states.get('sensor.battery_state') assert entity is not None