Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2025.2.0: statistics-graph cards no longer update #24167

Closed
3 of 4 tasks
wouttom opened this issue Feb 10, 2025 · 2 comments · Fixed by #24233
Closed
3 of 4 tasks

2025.2.0: statistics-graph cards no longer update #24167

wouttom opened this issue Feb 10, 2025 · 2 comments · Fixed by #24233
Assignees

Comments

@wouttom
Copy link

wouttom commented Feb 10, 2025

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

After upgrading to 2025.2.1 all dashboard-cards with

          - chart_type: line
            type: statistics-graph

stopped automatically updating with new data.
Even after several hours the graphs never updated.

I reverted to 2025.1.4, after which all cards were updating themselves as expected.

Describe the behavior you expected

When a dashboards stays open, the graphs are automatically updated as new data for a metric arrives.

Steps to reproduce the issue

...

What version of Home Assistant Core has the issue?

2025.2.1

What was the last working version of Home Assistant Core?

2025.1.4

In which browser are you experiencing the issue?

Firefox 134, and the IOS app

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

chart_type: line
period: 5minute
type: statistics-graph
entities:
  - sensor.envoy_xxxx_current_power_consumption
  - sensor.envoy_xxxx_current_power_production
  - sensor.site_load_connector_1
stat_types:
  - mean
hide_legend: true
days_to_show: 0.5
unit: W
grid_options:
  rows: 4
  columns: full

---
chart_type: line
period: 5minute
type: statistics-graph
entities:
  - sensor.power_usage
stat_types:
  - mean
  - min
  - max
unit: W
hide_legend: true
days_to_show: 0.5
grid_options:
  columns: full
  rows: 4

Javascript errors shown in your browser console/inspector

Additional information

No response

@ildar170975
Copy link
Contributor

ildar170975 commented Feb 10, 2025

Cannot confirm in Chrome 133.0.6943.60 (Win10x64), 2025.2.1.
Added a card & then did not close or refresh this tab.

chart_type: line
period: 5minute
type: statistics-graph
entities:
  - sensor.xiaomi_cg_1_humidity
stat_types:
  - mean
  - min
  - max
days_to_show: 0.5

Image

Image

At least in Masonry it works OK.
Will check also with sections.

@ildar170975
Copy link
Contributor

ildar170975 commented Feb 10, 2025

Yes - do confirm with sections, the card is not automatically updated.
Now it is 00:46.

Image

After F5:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants