Skip to content

Discrepancy in the Metrics savings and the Apex Chart Savings #3541

@Grey-Sheep

Description

@Grey-Sheep

I have been running the apex charts savings for a while (it is my favourite chart!) and I noticed there is a difference between those daily figures for the predbat Savings and the ones in the new Metrics page (which is a great addition imho). The other two figures are the same.

They are shown in the images below

Image Image

The code for the apex chart configuration is below:-

type: custom:apexcharts-card
header:
show: true
title: Cost Savings
show_states: true
colorize_states: true
graph_span: 8days
span:
start: day
offset: "-7day"
now:
show: true
series:

  • entity: predbat.savings_yesterday_predbat
    stroke_width: 1
    name: saving_predbat
    type: column
    group_by:
    func: last
    duration: 24hours
  • entity: predbat.savings_yesterday_pvbat
    stroke_width: 1
    name: saving_pvbat
    type: column
    group_by:
    func: last
    duration: 1day
  • entity: predbat.cost_yesterday
    stroke_width: 1
    type: column
    name: actual
    group_by:
    func: last
    duration: 1da

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions