mirror of
https://github.com/elisspace/core.git
synced 2026-09-24 11:36:53 +00:00
* Add PTZ support to Foscam camera component * Address review comments: - Move service to foscam domain - Use `dict[key]` for required schema keys or with defaults - Fix sync operations in async context - Remove excessive logging * Fix import order * Move all the initialization to setup_platform and fix motion detection status logic * Move function dictionary out of the function. * Change user input to lowercase snake case * Change user input to lowercase snake case * Fix service example value * Omit foscam const module from code coverage tests * Add myself to foscam codeowners
13 lines
485 B
YAML
13 lines
485 B
YAML
ptz:
|
|
description: Pan/Tilt service for Foscam camera.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to move.
|
|
example: 'camera.living_room_camera'
|
|
movement:
|
|
description: "Direction of the movement. Allowed values: up, down, left, right, top_left, top_right, bottom_left, bottom_right."
|
|
example: 'up'
|
|
travel_time:
|
|
description: "(Optional) Travel time in seconds. Allowed values: float from 0 to 1. Default: 0.125"
|
|
example: 0.125
|