core/homeassistant/components/foscam/services.yaml

47 lines
1.0 KiB
YAML

ptz:
name: PTZ
description: Pan/Tilt service for Foscam camera.
target:
entity:
integration: foscam
domain: camera
fields:
movement:
description: "Direction of the movement."
required: true
selector:
select:
options:
- 'bottom_left'
- 'bottom_right'
- 'down'
- 'left'
- 'right'
- 'top_left'
- 'top_right'
- 'up'
travel_time:
description: "Travel time in seconds."
default: 0.125
selector:
number:
min: 0
max: 1
step: 0.005
unit_of_measurement: seconds
ptz_preset:
name: PTZ preset
description: PTZ Preset service for Foscam camera.
target:
entity:
integration: foscam
domain: camera
fields:
preset_name:
description: "The name of the preset to move to. Presets can be created from within the official Foscam apps."
required: true
example: "TopMost"
selector:
text: