Change Attribute of a timer

Hello

I have a timer (helper) and I want to change his attribute (duration) with an input value.
For example, the timer is 30min (fix for now) and the input value is 45. How can I change the attribute of the timer?

https://www.home-assistant.io/integrations/timer/#action-timerchange

‘action: timer.start
target: {}
data:
entity_id: timer.wembley_bewasserung
duration: {{states(‘input_select.zeit_drop’)}}’

Thanks for your help, but I need this version. A variable duration via drop select and put this value into the duration state_addr of the timer.

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

action: timer.start
target:
  entity_id: timer.wembley_bewasserung
data:
  duration: "{{ states('input_select.zeit_drop') }}"

Nice. It works.
THX.