Cooling curve control via API

Desired capability: change the curve applied to a particular pump or fan via the API.

Use case: I run my pump at about 30% most of the time, as this gives me almost silent operation without sacrificing cooling performance. Currently, l manually run the pump at 100% for a few minutes every day to move any small bubbles through to the reservoir to keep them from coalescing in the loop and potentially impacting cooling performance. I would like to automate this through Home Assistant.