Is it possible to make a derived function piece wise?

Would love to use a piecewise function for my soil moisture sensor readings. Can it be done?

Hi there, it’s not possible now but this is a great idea. Just heard the same suggestion from a customer today, will queue it in our development roadmap.