core/tests/components/nest
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
test_api.py
test_camera.py Generate Stream snapshots using next keyframe (#96991) 2023-08-26 10:39:40 -07:00
test_climate.py Enforce a minimum temperature range for nest thermostats (#98238) 2023-08-11 12:21:19 +02:00
test_config_flow.py Remove Legacy Works With Nest (#96111) 2023-07-09 19:38:05 -07:00
test_device_info.py
test_device_trigger.py Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
test_diagnostics.py Don't require passing identifiers to DeviceRegistry.async_get_device (#96479) 2023-07-13 13:39:25 -04:00
test_events.py
test_init.py Remove Legacy Works With Nest (#96111) 2023-07-09 19:38:05 -07:00
test_media_source.py Don't require passing identifiers to DeviceRegistry.async_get_device (#96479) 2023-07-13 13:39:25 -04:00
test_sensor_sdm.py