Caling script with parameter (a timer)

I have a lot of timers that I use in my kitchen, I would like to prevent a timer from restarting if you click on it while it is in use, here is my idea of a script, what is wrong

alias: timertest
sequence:
  - if:
      - condition: template
        value_template: "{{ state(\"thetimer\",\"Idle\") }}"
    then:
      - service: timer.start
        data: {}
        target:
          entity_id: "{{ thetimer }}"
mode: single

I am missing the part where you call the script. The call should contain the variable that holds the actual timer entity_id.

One can do in several ways:

service: script.timer
data:
  thetimer: "timer_entity_id"
service: script.turn_on
target:
  entity_id: script.timer
data:
  variables:
    thetimer: "timer_entity_id"

The service call when tabbing the time should trigger the script