mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Documentation for new foscam PTZ preset service (#15604)
This commit is contained in:
parent
8381b25256
commit
1ed801b1a4
@ -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
|
||||
|
||||
<p class='img'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user