Use lock in Camera.create_stream (#62757)
Rename create_stream to async_create_stream in Camera Rename get_image to async_get_image in Stream Rename get_image to async_get_image in KeyFrameConverter
This commit is contained in:
parent
78cc5f8d43
commit
9dbba6b7f2
4 changed files with 40 additions and 28 deletions
|
@ -892,6 +892,6 @@ async def test_get_image(hass, record_worker_sync):
|
|||
|
||||
await record_worker_sync.join()
|
||||
|
||||
assert await stream.get_image() == EMPTY_8_6_JPEG
|
||||
assert await stream.async_get_image() == EMPTY_8_6_JPEG
|
||||
|
||||
stream.stop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue