Lovelace Card with Variables on Script (WebOS TV and Cameras)

Hello to everyone :smiley:
I hope someone could help me with this project :smiley:
I want to create a Lovelace Card where i can chose my WebOS tv and Camera (I then need to create one entry for each camera that pass the link to the camera) then with a button pass this values to the following script and execute the script:

alias: 50.TelecameraTVCamera
sequence:
  - service: webostv.command
    data:
      entity_id: ValueFromLovelaceCard
      command: system.launcher/open
      payload: ValueFromLovelaceCard
mode: single
icon: mdi:cctv

My CCTV is Frigate

Best Regards
Stefano