How do I create an input_number from an add-on?

I am trying to create an input slider from within an addon using curl. The following creates a slider with a fixed value, but does not allow the user to select a value.
curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $SUPERVISOR_TOKEN" -d '{"state": 33, "attributes": {"editable": true, "unit_of_measurement": "%", "icon": "mdi:clock-start", "min":0, "max":100, "step":1, "mode":"slider", "initial":null, "friendly_name": "AFS2"}}' http://hassio/homeassistant/api/states/input_number.afs2
How do I allow adjustment of the slider value? I would assume “editable” would allow the user to change the value, but the value does not chage.