Don't access hass.data directly in generic camera test. (#68316)
This commit is contained in:
parent
712c9d4a4f
commit
490c921763
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ async def test_setup_alternative_options(hass, hass_ws_client):
|
|||
},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
assert hass.data["camera"].get_entity("camera.config_test")
|
||||
assert hass.states.get("camera.config_test")
|
||||
|
||||
|
||||
async def test_no_stream_source(hass, hass_client, hass_ws_client, fakeimgbytes_png):
|
||||
|
|
Loading…
Add table
Reference in a new issue