How can I make a service call from lovelace?

I’m using the variables integration. To set the variable I can use a service:

I’d like to be able to enter a number in lovelace and call the service. However I don’t want to have to create a “matching” input_number for each variable I create. Any suggestions on how I can add this functionality to the UI?