Question About Using "service: climate.set_temperature" & Temperature Data Type

When a constant is used as the value for temperature this works but when a Helper, as seen below, is used it doesn’t work. Is there anyway to format the Helper such that I can dynamically change the value?

heat_nighttime:
  alias: Heat Nighttime
  sequence:
  - service: climate.set_temperature
    target:
      entity_id: climate.west_end_thermostat
    data:
      temperature: input_number.west_end_night_sp
  mode: single
heat_daytime:
  alias: Heat Daytime
  sequence:
  - service: climate.set_temperature
    target:
      entity_id: climate.west_end_thermostat
    data:
      temperature: input_number.west_end_day_sp
  mode: single

From one of my automations:

  - service: climate.set_temperature
    data:
      temperature: "{{ states('input_number.base_temperature')|int }}"
    target:
      entity_id:
        - climate.hallway
        - climate.living_room
        - climate.kitchen
        - climate.study

That works like a champ. I appreciate the specifics.