custom_components/nest_snapshot/manifest.json, custom_components/nest_snapshot/services.yaml
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"domain": "nest_snapshot",
|
|
||||||
"name": "Nest Snapshot",
|
|
||||||
"codeowners": [],
|
|
||||||
"dependencies": ["nest"],
|
|
||||||
"documentation": "https://github.com/home-assistant/example-custom-config",
|
|
||||||
"integration_type": "service",
|
|
||||||
"iot_class": "cloud_polling",
|
|
||||||
"requirements": ["aiortc", "Pillow"],
|
|
||||||
"version": "1.0.0"
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
capture:
|
|
||||||
name: "Capture Snapshot"
|
|
||||||
description: "Capture a still image from a Nest camera via WebRTC and save as JPEG."
|
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
name: "Camera"
|
|
||||||
description: "Nest camera entity to capture from."
|
|
||||||
required: true
|
|
||||||
selector:
|
|
||||||
entity:
|
|
||||||
domain: camera
|
|
||||||
integration: nest
|
|
||||||
filename:
|
|
||||||
name: "Filename"
|
|
||||||
description: "Full path to save the JPEG image. Supports templates with `entity_id` and `now()`."
|
|
||||||
required: false
|
|
||||||
default: "/media/nest_snapshot_{{ now().strftime('%Y%m%d_%H%M%S') }}_{{ entity_id.split('.')[1] }}.jpg"
|
|
||||||
example: "/config/www/nest_snapshot_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg"
|
|
||||||
selector:
|
|
||||||
text:
|
|
||||||
multiline: false
|
|
||||||
Reference in New Issue
Block a user