hass-core/tests/components/generic
uvjustin 407aa31adc
Generate Stream snapshots using next keyframe ()
* 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 Move fixtures part 1 () 2021-11-01 20:47:05 -07:00
__init__.py
conftest.py Enable Ruff PT022 () 2023-01-27 13:57:06 +01:00
sample1_animate.png Add image test cases to generic () 2022-04-02 10:54:19 +02:00
sample2_jpeg_odd_header.jpg Add image test cases to generic () 2022-04-02 10:54:19 +02:00
sample3_jpeg_odd_header.jpg Add image test cases to generic () 2022-04-02 10:54:19 +02:00
sample4_K5-60mileAnim-320x240.gif Add image test cases to generic () 2022-04-02 10:54:19 +02:00
sample5_webp.webp Support webp still image format in generic camera () 2022-04-08 23:06:34 -07:00
test_camera.py Generate Stream snapshots using next keyframe () 2023-08-26 10:39:40 -07:00
test_config_flow.py Generate Stream snapshots using next keyframe () 2023-08-26 10:39:40 -07:00
test_diagnostics.py Add type hints to integration tests (part 7) () 2023-02-13 09:53:09 +01:00