delta filter - behaviour (just checking) #377
-
I have some inconsistent results when using a statistic of type sum and then using a filter: delta. Just to be sure: Does it provide also negative values to the sum? or just the positive values |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
It just the previous value from the last. Can you share your yaml and a screenshot of both the original statistic (without filters) and with it? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
The delta filter just subtracts the previous from each datapoint. Are you sure you are not confusing statistics with history?
Statistics is a different db in home assistant, and when you ask for daily statistics of a sensor, you only get 1 datapoint per day. If that statistic is configured to reset each day then that happens way before this gets into this card.
Try plotting this: