I have a sensor that can output a numeric value between -1000 and +1000
I need to filter to output so all negative numbers are ignored so they have the numeric value of zero.
Sorta
IF x < 0 then y = 0 ( IF x LT 0 then y = 0 )
Else
y = x
So y can only be the positive range of the sensor
Not sure how to implement this in a template , where the wanted value is the numeric output of another sensor minus y
TIA