core/tests/components/generic
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
..
fixtures
__init__.py
conftest.py
sample1_animate.png
sample2_jpeg_odd_header.jpg
sample3_jpeg_odd_header.jpg
sample4_K5-60mileAnim-320x240.gif
sample5_webp.webp
test_camera.py Generate Stream snapshots using next keyframe (#96991) 2023-08-26 10:39:40 -07:00
test_config_flow.py Generate Stream snapshots using next keyframe (#96991) 2023-08-26 10:39:40 -07:00
test_diagnostics.py