mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Fixed test (#23343)
This commit is contained in:
parent
f4e7364651
commit
e850ccb82c
@ -36,6 +36,7 @@ async def test_sensor(hass, create_registrations, webhook_client): # noqa: F401
|
|||||||
|
|
||||||
json = await reg_resp.json()
|
json = await reg_resp.json()
|
||||||
assert json == {'success': True}
|
assert json == {'success': True}
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
entity = hass.states.get('sensor.battery_state')
|
entity = hass.states.get('sensor.battery_state')
|
||||||
assert entity is not None
|
assert entity is not None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user