Hi experts!
I have set a camera through rtsp that I can see live in other dashboards.
Now I created a dashboard with a flor plan and I have the icon of the camera.
I’d like to be able to click on the icon and get a pop-up with the streaming.
I have the following code:
- type: icon
icon: mdi:cctv
entity: camera.cam_veranda
tap_action:
action: call-service
service: camera.play_stream
service_data:
entity_id: camera.cam_veranda
style:
top: 71%
left: 75%
but it doesn’t work. I get this error when clicking on the icon:
"Failed to call service camera/play_stream. required key not provided @ data[‘media_player’]
Thanks