lovelace-plotly-graph-card
lovelace-plotly-graph-card copied to clipboard
Alter (transform) certain data points
trafficstars
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?