Integration switch turn on with custom parameters

I have a request for an integration I manage.

We want to be able to turn a outside air ventilator on and off in a Lennox HVAC system. The system allows you to specify how long the ventilation operation should occur for in minutes.

I see the switch.turn_on method has a Kwargs. What I’d like to do is allow the user to call the method and be able to specify duration=10

Is that possible? How would I construct that service call?

I know that we could use an automation to turn it off after the duration. But we’d like to use the native capability since it would then appear on all the Lennox UIs with the countdown.