home-automation-home-assistant/custom_components/reolink_dev/services.yaml

85 lines
2.8 KiB
YAML

ptz_control:
name: Pan/Zoom/Tilt Control
description: Execute a PTZ command.
target:
entity:
integration: reolink_dev
domain: camera
fields:
entity_id:
description: Name(s) of the Reolink camera entity to execute the command on.
example: 'camera.frontdoor'
command:
description: >-
Command to execute. Possible values are:
AUTO DOWN FOCUSDEC FOCUSINC LEFT LEFTDOWN LEFTUP
RIGHT RIGHTDOWN RIGHTUP STOP TOPOS UP ZOOMDEC ZOOMINC
example: LEFTUP
preset:
description: (Optional) In case of the command TOPOS. The available presets are listed as attribute on the camera.
example: HOME
speed:
description: (Optional) Speed at which the movement takes place.
example: 25
set_sensitivity:
name: Set Motion Sensitivity
description: Set the motion detection sensitivity.
target:
entity:
integration: reolink_dev
domain: camera
fields:
entity_id:
description: Name(s) of the Reolink camera entity to execute the command on.
example: 'camera.frontdoor'
sensitivity:
description: New sensitivity, value between 1 (low sensitivity) and 50 (high sensitivity)
example: 25
preset:
description: >-
(Optional) Set the sensitivity of a specific preset (time schedule). When no value is supplied,
all presets will be changed.
set_daynight:
name: Set Day/Night Mode
description: Set day and night parameter.
target:
entity:
integration: reolink_dev
domain: camera
fields:
entity_id:
description: Name(s) of the Reolink camera entity to execute the command on.
example: 'camera.frontdoor'
mode:
description: >-
The day and night mode parameter supports the following values:
AUTO: Auto switch between black & white mode
COLOR: Always record videos in color mode
BLACKANDWHITE: Always record videos in black & white mode
example: AUTO
set_backlight:
name: Set backlight
description: >-
Optimizing brightness and contrast levels to compensate for differences
between dark and bright objects using either BLC or WDR mode.
This may improve image clarity in high contrast situations,
but it should be tested at different times of the day and night to ensure there is no negative effect.
target:
entity:
integration: reolink_dev
domain: camera
fields:
entity_id:
description: Name(s) of the Reolink camera entity to execute the command on.
example: 'camera.frontdoor'
mode:
description: >-
The backlight parameter supports the following values:
BACKLIGHTCONTROL: use Backlight Control
DYNAMICRANGECONTROL: use Dynamic Range Control
OFF: no optimization
example: DYNAMICRANGECONTROL