I got a Reolink E1 Zoom camera which I have integrated with Home Assistant using the official integration. Now I am playing around with possibilities to control the camera using buttons in a dashboard.
To start with I have created a Picture glance card according to the description the Picture glance documentation.
I have added buttons to pan the camera to the left and to the right. The problem is that when I press the buttons the camera pans correctly to the left and to the right, but with just one short press it always goes the full left (or full right), ie almost 180 degres.
So, is there any way to control the panning of the camera so it pans in smaller steps?
The yaml code for the picture glance card looks like this:
camera_view: live
type: picture-glance
entities:
- entity: button.e1_zoom_ptz_left
icon: mdi:pan-left
tap_action:
action: call-service
service: button.press
data:
entity_id: button.e1_zoom_ptz_left
- entity: button.e1_zoom_ptz_right
icon: mdi:pan-right
tap_action:
action: call-service
service: button.press
data:
entity_id: button.e1_zoom_ptz_right
camera_image: camera.e1_zoom_fluent
title: GĂ„rdsplan