What is the platform for a number in configuration.yanl configuration?

The documentation for the ‘Number’ integration explains it’s a “building block” for use by other integrations to create a number entity. Typically, these other integrations create number entities automatically for a discovered device.

Currently, the integrations that allows a user to define a number entity are MQTT Number and Template.

I suggest you use the Template integration to create a number entity.