From 0b542f48f7b465502327635f298e5d1512c49da6 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Wed, 29 Jul 2026 15:29:12 +0000 Subject: [PATCH] custom_components/nest_snapshot/services.yaml --- custom_components/nest_snapshot/services.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 custom_components/nest_snapshot/services.yaml diff --git a/custom_components/nest_snapshot/services.yaml b/custom_components/nest_snapshot/services.yaml new file mode 100644 index 0000000..2739706 --- /dev/null +++ b/custom_components/nest_snapshot/services.yaml @@ -0,0 +1,21 @@ +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