Stream Camera by tab action on lovelace custom card

Hi all,

i have created a custom card for the status of my garage door (open or closed) and now want to add as hold -action, that the live stream of the garage camera is shown in Lovelace. So far so good. One of the mandtaory fields of the service “camera.play-stream” is the “Media Payer” and it is not working when I leave this feld emtpy. As entities of media players I can only choose my Sonos devices.

I do not want to stream the video on a seperate media player but want to see the live stream on Lovelace out of the custom button card as hold_action, like in a pircture-glance card.

Below my code:

hold_action:
  action: call-service
  service: camera.play_stream
  service_data:
    entity_id: camera.garage

What do I need to do in order to show the live stream in Lovelace?

Thanks for your feedbacks!!!

Aleardo

1 Like

Were you ever able to solve this? I’m having the exact same problem.