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?