How do I edit a threshold helper?

There is an FQ for a dual slider that would be nice for this:

Although the Threshold helper will not take anything but a float for upper and lower, I just tried a template in yaml