Reolink Position Reset

I have a Reolink RLC-823A camera and am trying to reset the PTZ position back to its default position if the camera has been moved. I would like it to move back to its “home” position after 5 minutes–the “gate” preset. I created an automation that should fire after PTZ preset option changed and should move the camera back to the gate preset - PTZ preset option Gate.

For some reason it does not work (I am quite new to HA but have had some success with other automations).

Here is the code:

alias: Reset Cam Day
description: “”
trigger:

  • platform: device
    device_id: eb70b448f54b0160b2d2e72e7c821bfd
    domain: select
    entity_id: e377cf8438772e7bd59e92200d45b74c
    type: current_option_changed
    for:
    hours: 0
    minutes: 5
    seconds: 0
    condition:
  • condition: sun
    after: sunrise
    before: sunset
    action:
  • device_id: eb70b448f54b0160b2d2e72e7c821bfd
    domain: select
    entity_id: e377cf8438772e7bd59e92200d45b74c
    type: select_option
    option: Gate
    mode: single

Hello

I think you need to replace the last action by calling a service

service: select.select_option
target:
  entity_id: select.e1_zoom_3_ptz_preset
data:
  option: Gate

1 Like