From 1ed801b1a45d07032e43ae60b0694b6b716fb601 Mon Sep 17 00:00:00 2001 From: joe248 <24720046+joe248@users.noreply.github.com> Date: Wed, 27 Jan 2021 08:43:47 -0600 Subject: [PATCH] Documentation for new foscam PTZ preset service (#15604) --- source/_integrations/foscam.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_integrations/foscam.markdown b/source/_integrations/foscam.markdown index 9bd0f32b6a4..08e200b0879 100644 --- a/source/_integrations/foscam.markdown +++ b/source/_integrations/foscam.markdown @@ -34,6 +34,15 @@ If your Foscam camera supports PTZ, you will be able to pan or tilt your camera. | `movement` | Direction of the movement. Allowed values: `up`, `down`, `left`, `right`, `top_left`, `top_right`, `bottom_left`, `bottom_right` | | `travel_time` | (Optional) Travel time in seconds. Allowed values: float from 0 to 1. Default: 0.125 | +### Service `foscam.ptz_preset` + +If your Foscam camera supports PTZ presets, you will be able to move the camera to a predefined preset using the preset name. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | +| `preset_name` | The name of the preset to move to. Presets can be created from within the official Foscam apps. | + ### Example card with controls