[SOLVED] Increment Input Number by value of another Input Number

I’m trying to do exactly this and it doesn’t seem to work…
what am I doing wrong?

  - type: service-button
    title: '+10'
    style:
      '--mdc-typography-button-font-size': 20px
      color: white
      '--mdc-theme-primary': '#dddddd'
      top: 77.5%
      left: 92%
    service: input_number.set_value
    service_data:
      entity_id: input_number.my_points
      value: "{{ states('input_number.my_points') | float + 10 }}"

(nb, tried int but it keeps giving me errors about a float, hence float at the moment