hass-core/tests/components/nest
Allen Porter c4e5242b0c
Add an entity service for saving nest event related snapshots (#58369)
* Add an entity service for saving nest event related snapshots

Add an entity service `nest.snapshot_event` for recording camera event
related media to disk. This is based on `camera.snapshot` but takes in
a parameter for a Nest API event_id.

PR #58299 adds `nest_event_id` to events published by nest so that they can
be hooked up to this service for capturing events.

Future related work includes:
- Height & Width parameters for the rendered image
- Support video clips for new battery cameras
- An API for proxying media related to events, separate from the camera image thumbnail
- A Nest MediaSource for browsing media related to events

* Revert debugging information

* Add test coverage for OSError failure case

* Add service description for nest snapshot service

* Reduce unnecessary diffs.

* Sort nest camera imports

* Remove unnecessary if block in snapshot
2021-11-29 23:04:29 -08:00
..
__init__.py
common.py Update nest config flow to dramatically simplify end user setup with automated pub/sub subscription creation (#59260) 2021-11-29 22:41:29 -08:00
conftest.py Block tests from opening sockets (#55516) 2021-10-05 14:46:09 -10:00
test_api.py
test_camera_sdm.py Add an entity service for saving nest event related snapshots (#58369) 2021-11-29 23:04:29 -08:00
test_climate_sdm.py Rename tests filenames to conform to Home Assistant standards (#58266) 2021-10-22 22:25:55 -07:00
test_config_flow_legacy.py
test_config_flow_sdm.py Update nest config flow to dramatically simplify end user setup with automated pub/sub subscription creation (#59260) 2021-11-29 22:41:29 -08:00
test_device_info.py Use constants for device registry checks (#58514) 2021-10-27 11:34:58 +02:00
test_device_trigger.py
test_events.py Publish nest event ids in camera related events (#58299) 2021-10-26 10:14:12 -05:00
test_init_legacy.py
test_init_sdm.py Update nest config flow to dramatically simplify end user setup with automated pub/sub subscription creation (#59260) 2021-11-29 22:41:29 -08:00
test_local_auth.py
test_sensor_sdm.py Rename tests filenames to conform to Home Assistant standards (#58266) 2021-10-22 22:25:55 -07:00