Help Request: How to enter an input.number entity into a service call

I have a number input helper that I want to use to set my water hose timers to (see screenshot). The service to enter the run time for the hose expects a number (in minutes). I want that number to change based on the value I set for the helper.

THE RELEVANT YAML:

entity_id: switch.to_front_zone
minutes: {{ states('input_number.timer_input_sprinklers')}}

SCREENSHOT OF THE AUTOMATION:

WHAT I’VE TRIED SO FAR:

  1. minutes: input_number.timer_input_sprinklers
  2. minutes: {{input_number.timer_input_sprinklers}}
  3. minutes: {%input_number.timer_input_sprinklers%}
  4. minutes: {% states('input_number.timer_input_sprinklers')%}
  5. minutes: {{ states('input_number.timer_input_sprinklers')}}

Nevermind. Just figured it out:

minutes: "{{states('input_number.timer_input_sprinklers')}}"