dbuezas / lovelace-plotly-graph-card

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

add interpolating resample filter #411

Open felixmxr opened 7 months ago

felixmxr commented 7 months ago

added resample_int it interpolates the resampled points for numeric data

dbuezas commented 7 months ago

Thanks, that's a good idea I think it would be more aligned with the API of the other filters if you make interpolation a parameter of resample.

The integrate filter is a good example of a filter with defaults and either a duration or an object as parameter. Also describing the filter in the right section of the readme.