Mismatch code from automation to blueprint

hi!
flund some strange behaviour by moving my automation to a blueprint. in the fully working automation there is setting a timer by this code:

- service: timer.start
    target:
      entity_id: timer.helfer_timer_ta30_og_licht
    data:
      duration: "01:{{ (range(-20, 20)|random|int) }}:00"

moving this to a blueprint comes up with an error.

- service: timer.start
  target:
    entity_id: !input timerhelper_timer
  data:
    duration: "02:{{ range(-20, 20)|ranodm|int }}:00"
Message malformed: template value should be a string for dictionary value @ data['action'][0]['choose'][0]['sequence'][1]['choose'][0]['sequence'][0]['data']

setting up the duration with “03:00:00” works just fine.

what am i missing? is this by design? is this a bug?

See any problem there?

if you mean the “int”-parameter - it does neither work without it …

- service: timer.start
  target:
    entity_id: !input timerhelper_timer
  data:
    duration: "02:{{ range(-20, 20)|ranodm}}:00"

Look again. Spelling issue.

WTF :face_with_symbols_over_mouth: :face_with_symbols_over_mouth:

Thanks for correcting my mistake! Runs smoothly now