Alter (transform) certain data points
Opened this issue · 0 comments
jazzmonger commented
I have a tuya ac unit that throws out anomalies when the temp reading is under 61 degrees.
I tried the filter map but it's averaging data values resulting in incorrect data. Trying to remap those values doesn't give me the desired result.
I actually want to "replace" certain data values less than 20 by adding back a constant value:
If datapoint < 20
datapoint + 45
Is this possible? Or do I need to create some sort of template sensor?