hass-core/homeassistant/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
..
legacy Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
translations 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
__init__.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
api.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
binary_sensor.py Increase static type coverage for nest integration (#53475) 2021-07-27 01:43:52 +02:00
camera.py Increase static type coverage for nest integration (#53475) 2021-07-27 01:43:52 +02:00
camera_sdm.py Add an entity service for saving nest event related snapshots (#58369) 2021-11-29 23:04:29 -08:00
climate.py Increase static type coverage for nest integration (#53475) 2021-07-27 01:43:52 +02:00
climate_sdm.py Use assignment expressions 07 (#57787) 2021-10-17 20:24:34 +02:00
config_flow.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
const.py Add an entity service for saving nest event related snapshots (#58369) 2021-11-29 23:04:29 -08:00
device_info.py Use DeviceInfo Class N-O (#58314) 2021-10-24 11:34:45 +02:00
device_trigger.py Use assignment expressions 23 (#58180) 2021-10-22 11:13:05 +02:00
events.py Publish nest event ids in camera related events (#58299) 2021-10-26 10:14:12 -05:00
manifest.json Bump google-nest-sdm to 0.4.0 (#60068) 2021-11-21 08:10:09 +01:00
placeholder.png Serve nest placeholder image from disk rather than generate on the fly (#58663) 2021-10-30 13:44:28 -07:00
sensor.py Increase static type coverage for nest integration (#53475) 2021-07-27 01:43:52 +02:00
sensor_sdm.py Change precision of Nest sensors (#56993) 2021-10-22 20:31:25 -07:00
services.yaml Add an entity service for saving nest event related snapshots (#58369) 2021-11-29 23:04:29 -08:00
strings.json 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