Skip to content

Daily Energy meters seem to fluctuate instead of always going up... #229

Answered by jcam
jcam asked this question in Q&A
Discussion options

You must be logged in to vote

Well... since I changed multiple things I can't be sure which was the real solution. For one thing, the reset was apparently happening at 8pm my time, which is midnight UTC, now it reset at local midnight...
I did not set restore: false, and I do still have the 48h flash write frequency that has been there for the last couple of months.

Changes I've made:

Added to every total_daily_energy sensor:

    state_class: total_increasing
    device_class: energy
    method: left

Replaced SNTP time with homeassistant_time:
Old:

time:
  - platform: sntp
    id: my_time

New:

time:
  - platform: homeassistant
    id: homeassistant_time

The graph looks like this today vs the last 2 days:

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
4 replies
@jcam
Comment options

@flaviut
Comment options

@zwbenedict
Comment options

@jcam
Comment options

Comment options

You must be logged in to vote
9 replies
@jcam
Comment options

@flaviut
Comment options

@jcam
Comment options

@zwbenedict
Comment options

@jcam
Comment options

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