mirror of
https://github.com/elisspace/core.git
synced 2026-08-31 08:32:13 +00:00
Fix more test
This commit is contained in:
@@ -65,8 +65,7 @@ async def test_sensor(hass, create_registrations, webhook_client): # noqa: F401
|
||||
|
||||
assert update_resp.status == 200
|
||||
|
||||
updated_entity = hass.states.async_all()[2]
|
||||
|
||||
updated_entity = hass.states.get('sensor.battery_state')
|
||||
assert updated_entity.state == '123'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user