Rtsp in lovelace how to switch streams on click

works like this now
configuration.yaml

camera:
  - platform: generic
    still_image_url: "[url="http://192.168.1.76/ISAPI/Streaming/Channels/101/picture"]http://192.168.1.76/IS…g/Channels/101/picture[/url]"
    stream_source: "rtsp://192.168.1.76:554/user=login&password=pass&channel=1&stream=1.sdp?"
    name: "Cam 1"

  - platform: generic
    still_image_url: "[url="http://192.168.1.76/ISAPI/Streaming/Channels/201/picture"]http://192.168.1.76/IS…g/Channels/201/picture[/url]"
    stream_source: "rtsp://192.168.1.76:554/user=login&password=pass&channel=2&stream=1.sdp?"
    name: "Cam 2"

  - platform: generic
    still_image_url: "[url="http://192.168.1.76/ISAPI/Streaming/Channels/301/picture"]http://192.168.1.76/IS…g/Channels/301/picture[/url]"
    stream_source: "rtsp://192.168.1.76:554/user=login&password=pass&channel=3&stream=1.sdp?"
    name: "Cam 3"

  - platform: generic
    still_image_url: "[url="http://192.168.1.76/ISAPI/Streaming/Channels/401/picture"]http://192.168.1.76/IS…g/Channels/401/picture[/url]"
    stream_source: "rtsp://192.168.1.76:554/user=login&password=pass&channel=4&stream=1.sdp?"
    name: "Cam 4

ui-lovelace.yaml

      - type: vertical-stack
        cards:
        - type: markdown
          content: >
             **Камеры улица**
        - type: horizontal-stack
          cards:
          - type: picture-entity
            entity: camera.cam_1
            camera_view: live
            show_state: false
            show_name: false

          - type: picture-entity
            entity: camera.cam_2
            camera_view: live
            show_state: false
            show_name: false

        - type: horizontal-stack
          cards:
          - type: picture-entity
            entity: camera.cam_3
            camera_view: live
            show_state: false
            show_name: false
          - type: picture-entity
            entity: camera.cam_4
            camera_view: live
            show_state: false
            show_name: false

now in lovelace cameras display an additional stream (stream1).
How can I do that when I click on the camera, the main stream (stream0) opens?
thanks.