Hello Nest Doorbell Camera Cast to TV - solved

Hi team

I have my Google Nest integration set up and I can see my Nest Doorbell camera on my Lovelace UI.

I’m trying to write an automation which casts the doorbell camera to my TV upon a doorbell press. So far in my actions I have the following:

  action:
    data:
      entity_id: media_player.kd_65af8_2
      media_content_id: camera.front_door
      media_content_type: video
    service: media_extractor.play_media

I think my media_content_id is incorrect, but I’m unsure what to replace it with.

Any pointers please?

Edit Solved with:

>   action:
>   - service: camera.play_stream
>     data:
>       media_player:
>       - media_player.kd_65af8_2
>     entity_id: camera.front_door

Mind sharing the entire automation. I can’t get this to work at all. All I see is the Nest Hello as a camera. I don’t see a doorbell anywhere

See the help docs for nest for instructions on automations for the doorbell. It’s an event. (Not a separate entity for doorbell)