hass-core/homeassistant
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
..
auth Add local only users (#57598) 2021-11-29 14:01:03 -08:00
components Add an entity service for saving nest event related snapshots (#58369) 2021-11-29 23:04:29 -08:00
generated Add Tesla Wall Connector integration (#60000) 2021-11-28 07:41:01 -10:00
helpers Use dataclass for SsdpServiceInfo (#59931) 2021-11-29 06:10:07 -10:00
scripts Upgrade colorlog to 6.6.0 (#59440) 2021-11-09 21:30:23 +02:00
util Remove unused OrderedEnum (#60392) 2021-11-26 11:10:39 +01:00
__init__.py
__main__.py Activate fault handler (#56550) 2021-09-28 00:05:06 -07:00
async_timeout_backcompat.py Add integration filtering and error if core options to helpers.frame.report (#60009) 2021-11-20 12:53:04 +02:00
block_async_io.py
bootstrap.py Deprecate Python 3.8 (#57079) 2021-10-05 08:58:20 +02:00
config.py Import Callable from collections.abc (1) (#56775) 2021-09-29 16:32:11 +02:00
config_entries.py Use dataclass for SsdpServiceInfo (#59931) 2021-11-29 06:10:07 -10:00
const.py Add comments to entity category constants (#60276) 2021-11-24 10:46:53 +01:00
core.py Use atomicwrites for mission critical core files (#59606) 2021-11-15 11:19:31 +01:00
data_entry_flow.py Use dataclass for DhcpServiceInfo (#60136) 2021-11-23 13:35:53 +01:00
exceptions.py
loader.py Ensure domain is correct format (#58429) 2021-10-25 15:56:07 -07:00
package_constraints.txt Bump frontend to 20211129.0 (#60564) 2021-11-29 18:35:41 -08:00
requirements.py Use assignment expressions 03 (#57710) 2021-10-17 20:08:11 +02:00
runner.py Log unhandled loop exception traces when asyncio debug is on (#57602) 2021-10-18 20:07:51 -07:00
setup.py Import Callable from collections.abc (1) (#56775) 2021-09-29 16:32:11 +02:00
strings.json