core/tests/components/camera
uvjustin 407aa31adc
Generate Stream snapshots using next keyframe (#96991)
* Add wait_for_next_keyframe option to stream images
Add STREAM_SNAPSHOT to CameraEntityFeature
Use wait_for_next_keyframe option for snapshots using stream

* Update stream test comments

* Add generic camera snapshot test

* Get stream still images directly in camera
Remove getting stream images from generic, nest, and ONVIF
Refactor camera preferences
Add use_stream_for_stills setting to camera
Update tests

* Only attempt to get stream image if integration supports stream

* Use property instead of entity registry setting

* Split out getting stream prerequisites from stream_source in nest

* Use cached_property for rtsp live stream trait

* Make rtsp live stream trait NestCamera attribute

* Update homeassistant/components/nest/camera.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Change usage of async_timeout

* Change import formatting in generic/test_camera

* Simplify Nest camera property initialization

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-08-26 10:39:40 -07:00
..
__init__.py
common.py
conftest.py Always setup demo platforms with device support from config entry (#94586) 2023-06-14 16:50:35 +02:00
test_img_util.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_init.py Generate Stream snapshots using next keyframe (#96991) 2023-08-26 10:39:40 -07:00
test_media_source.py Add type hints to integration tests (part 3) (#87844) 2023-02-10 16:05:01 +01:00
test_recorder.py Allow exposing any entity to the default conversation agent (#92398) 2023-05-03 09:45:54 -04:00