Scripts caling subscripts several times with different parameters doesn't work

I have some issues when I try to call one script from another script several times, but with different parameters.

Here are my scripts:

snapshot_telegram:
  alias: Snapshot Telegram
  sequence:
  - data_template:
      entity_id: '{{ entity_id }}'
      filename: /config/camera/{{ entity_id }}.jpeg
    service: camera.snapshot
  - delay: 00:00:01
  - data_template:
      file: /config/camera/{{ entity_id }}.jpeg
    service: telegram_bot.send_photo
snapshot_telegram_test:
  alias: snapshot_telegram_alle
  sequence:
  - data:
      entity_id: camera.camera_vorhof
    service: script.snapshot_telegram
  - delay: 00:00:03
  - data:
      entity_id: camera.camera_garage
    service: script.snapshot_telegram
  - delay: 00:00:03
  - data:
      entity_id: camera.camera_terrasse
    service: script.snapshot_telegram
snapshot_telegram_test_vorhof:
  alias: snapshot_telegram_vorhof
  sequence:
  - data:
      entity_id: camera.camera_vorhof
    service: script.snapshot_telegram
snapshot_telegram_test_garage:
  alias: snapshot_telegram_garage
  sequence:
  - data:
      entity_id: camera.camera_garage
    service: script.snapshot_telegram
snapshot_telegram_test_terasse:
  alias: snapshot_telegram_terrasse
  sequence:
  - data:
      entity_id: camera.camera_terrasse
    service: script.snapshot_telegram

snapshot telegram works fine when I call it for only one camera.
so the last 3 scrips are working fine.
but the script snapshot_telegram_test doesn’t work as it should.
The goal is to call the snapshot_telegram for each camera, but only the first camera is processed, the second and third camera doesn’t even do a snapshot. I can see the datetime of the snapshots in the snapshot folder.

Maybe it is not possible to call a subscript several times?
Where is my error in thinking?

very strange, I changed the script name and alias and now it works:

snapshot_telegram_alle:
  sequence:
  - data:
      entity_id: camera.camera_vorhof
    service: script.snapshot_telegram
  - delay: 00:00:03
  - data:
      entity_id: camera.camera_garage
    service: script.snapshot_telegram
  - delay: 00:00:03
  - data:
      entity_id: camera.camera_terrasse
    service: script.snapshot_telegram

But I don’t understand what is the error in the script above?
Or maybe I only forgot to reload scripts after changing them?

it looks like it is not enough to edit and change scripts in the UI.
The issue is:
when editing a script in the UI only the alias can be changed, but not the id of the script.
“Renaming” scripts will not really rename the script, but only the alias of a script.

A mismatching is only visible in the file scripts.yaml

I renamed scripts in the UI but when a is renamed into b and then a new script a is created, then a user could think that the shown name of the new skript a is also the id of this script, but this is not the case.

anyway this is a bug in the UI:
when I “called” the script in the UI where the scripts can be edited, then not the script I clicked was executed, but another script with the same name, but which was renamed.

In other words:
if there are 2 scripts:

  • script1 with alias script2
  • script2 with alias script1

then when I click on script2 (which is shown as alias “script1”), then not script2 is executed, but script1