Skip to content

delta filter - behaviour (just checking) #377

Answered by dbuezas
luissimoes asked this question in Q&A
Discussion options

You must be logged in to vote

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:

type: custom:plotly-graph
entities:
  - entity: sensor.pv_dailyyield # history db, not statistic db. Typically only holds one week of data.
  - entity: sensor.pv_dailyyield # statistics db, holds data indefinitely 
    statistic: sum
    period: day
  - entity: sensor.pv_dailyyield
    statistic: sum
    period: h…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@luissimoes
Comment options

@dbuezas
Comment options

@luissimoes
Comment options

@dbuezas
Comment options

Answer selected by luissimoes
@luissimoes
Comment options

@dbuezas
Comment options

@dbuezas
Comment options

@luissimoes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants