dbuezas / lovelace-plotly-graph-card

Highly customisable Lovelace card to plot interactive graphs. Brings scrolling, zooming, and much more!
383 stars 17 forks source link

Alter (transform) certain data points #445

Open jazzmonger opened 1 month ago

jazzmonger commented 1 month ago

I have a tuya ac unit that throws out anomalies when the temp reading is under 61 degrees. IMG_3092

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. IMG_3094

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?