core/tests/components/nest
Allen Porter 2bcf87b980
Change the API boundary between camera and stream with initial improvement for nest expiring stream urls (#45431)
* Change the API boundary between stream and camera

Shift more of the stream lifecycle management to the camera.  The motivation is to support stream urls that expire
giving the camera the ability to change the stream once it is created.

* Document stream lifecycle and simplify stream/camera interaction

* Reorder create_stream function to reduce diffs

* Increase test coverage for camera_sdm.py

* Fix ffmpeg typo.

* Add a stream identifier for each stream, managed by camera

* Remove stream record service

* Update homeassistant/components/stream/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Unroll changes to Stream interface back into camera component

* Fix preload stream to actually start the background worker

* Reduce unncessary diffs for readability

* Remove redundant camera stream start code

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-08 19:53:28 -08:00
..
__init__.py
camera_sdm_test.py Change the API boundary between camera and stream with initial improvement for nest expiring stream urls (#45431) 2021-02-08 19:53:28 -08:00
climate_sdm_test.py Generate nest images thumbnails from events (#44638) 2021-01-06 07:02:04 -08:00
common.py Resolve nest pub/sub subscriber token refresh issues (#44686) 2021-01-02 01:51:01 +01:00
conftest.py Generate nest images thumbnails from events (#44638) 2021-01-06 07:02:04 -08:00
device_info_test.py
sensor_sdm_test.py Update nest library and switch events to async (#43583) 2020-11-24 08:53:50 -07:00
test_api.py Resolve nest pub/sub subscriber token refresh issues (#44686) 2021-01-02 01:51:01 +01:00
test_config_flow_legacy.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_config_flow_sdm.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_trigger.py Make DeviceRegistry.async_get_device connections arg optional (#44897) 2021-01-07 13:49:45 +01:00
test_events.py Increase test coverage for Nest SDM integration (#44718) 2021-01-01 13:31:18 +01:00
test_init_legacy.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_init_sdm.py Resolve nest pub/sub subscriber token refresh issues (#44686) 2021-01-02 01:51:01 +01:00
test_local_auth.py Move Legacy Works With Nest integration to subdirectory (#44368) 2020-12-22 12:42:37 -08:00