Trigger CAMERA Stream on Doorbell Ring

Hi All,

i had great help to get a triiger on place that reacts on a Doorbell to have Alexa announce a Visitor.

I am now trying to see if i can to something related which is bring up the Doorbell camera Stream when sone rings the bell.

This is the previous Auotmation

- id: "1742061084483"
  alias: G4 Doorbell Announcement with Alexa
  description: G4 Doorbell Announcement with Alexa
  triggers:
    - trigger: state
      entity_id: binary_sensor.g4_doorbell_pro_doorbell
      from: 'off'
      to: 'on'
  conditions: []
  actions:
    - action: media_player.play_media
      target:
        entity_id:
          - media_player.echo_spot_arbeitszimmer
          - media_player.echo_dot_gen_4_uhr_schlafzimmer
      data:
        media_content_type: custom
        media_content_id: "Sprich mir nach. Es hat geklingelt: jemand steht vor der Haustür"

This is what i found, but i am unsure on how to combine this with the tirgger an if it will work.

views:
  - title: Home
    icon: mdi:house
    popup_cards:
      camera.front_door:
      large: true
      title: Front Door
      card:
        - type: picture-glance
            entities:
            - entity: binary_sensor.g4_doorbell_pro_doorbell
            camera_image: camera.g4_doorbell_pro_high_resolution_channel
            camera_view: live
            aspect_ratio: 16:9
            show_state: false

or is there a smarter way to do it. Also where would i but this as it is a “view”

Please do not crosspost

Any idea why this does not work?

views:
  - title: Türklingel
    path: Türklingel
    cards:
      - type: conditional
        conditions:
          - entity: binary_sensor.g4_doorbell_pro_doorbell
            state: "on"
        card:
          type: picture-entity
          entity: camera.g4_doorbell_pro_high_resolution_channel
          camera_view: live
alias: Türklingel Popup anzeigen
description: Zeigt ein Popup mit der Türklingel-Kamera an, wenn der Knopf aktiviert wird
triggers:
  - entity_id: binary_sensor.g4_doorbell_pro_doorbell
    to: "on"
    trigger: state
conditions: []
actions:
  - action: input_boolean.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.doorbell_helfer
  - data:
      title: Türklingel
      autoclose: 60
      card:
        type: vertical-stack
        cards:
          - type: picture-glance
            title: Türklingel-Kamera
            entities: []
            camera_image: camera.g4_doorbell_pro_high_resolution_channel
            camera_view: live
          - type: button
            name: Schließen
            tap_action:
              action: close-popup
    action: browser_mod.popup
  - delay:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - action: input_boolean.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.doorbell_helfer
mode: single

Popup is showing but without Camera Stream? Any Ideas?