mini-graph-card: Wrong last bar value - always zero.

Last bar on graph is wrong, also hours to show omitting last day (history-graph show one day more with 720 hours).

image image

aggregate_func: max
cache: false
color_thresholds:
  - color: '#f0f042'
    value: 15
  - color: '#f0e342'
    value: 7.5
  - color: '#d0c442'
    value: 5
  - color: '#c0c042'
    value: 0
entities:
  - entity: sensor.daily_pv4
    index: 0
    name: Dzienna produkcja PV
group_by: date
hours_to_show: 720
icon: 'mdi:solar-power'
show:
  graph: bar
type: 'custom:mini-graph-card'
entities:
  - entity: sensor.daily_pv4
hours_to_show: 720
refresh_interval: 0
type: history-graph

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Okay, will make a release tonight 🙃

Out now ➡️ v0.9.4

@kalkih - I didn’t read that it was about the browser console 😉 I was looking for this in the HA dev console 😃

Browser console show 0.9.3 😃 I also have set cache: false

dev_console

I have exactly the same issue. Any news on this? image Everything looks fine, except for the last bar which is always zero. I’m also using Version 0.9.3

I have the same, oldest day is always show as zero. Eg. 168 hours, as You see most left blue value (tuesday) show 0. Please note too on the marked value from Sunday (dirty yellow) which shows 5,28kWh 168

but when I reduce the period to 48 hours, the most to the left will be Sunday 48 which shows now the 0 value