question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

History Graph Card (history-graph) not updating when layout-card is used

See original GitHub issue

Hello, originaly I thought it is an frontend issue (https://github.com/home-assistant/frontend/issues/5129) but after some testing I narrowed it down to layout-card. When I use it in my configuracion, history-graph does not update in time. All other cards (at least those I use) work well. Could you please have a look at it?

title: Home
views:
  - id: dashboard
    path: dashboard
    icon: 'mdi:home-assistant'
    panel: true
    title: 'Dashboard'
    badges: []
    cards:
    - type: custom:layout-card
      layout: vertical
      cards:
      - type: vertical-stack
        cards:
        - entities:
            - entity: sensor.bedroom_temperature
              name: 'Spálňa'
            - entity: sensor.kids_room_temperature
              name: 'Detská izba'
            - entity: sensor.paincave_temperature
              name: 'Pracovňa'
            - entity: sensor.dining_room_temperature
              name: 'Obývačka'
            - entity: sensor.master_bathroom_temperature
              name: 'Kúpelňa'
            - entity: sensor.guest_bathroom_temperature
              name: 'Hosťovská kúpelňa'
            - entity: sensor.bedroom_humidity
              name: 'Spálňa'
            - entity: sensor.kids_room_humidity
              name: 'Detská izba'
            - entity: sensor.paincave_humidity
              name: 'Pracovňa'
            - entity: sensor.dining_room_humidity
              name: 'Obývačka'
            - entity: sensor.master_bathroom_humidity
              name: 'Kúpelňa'
            - entity: sensor.guest_bathroom_humidity
              name: 'Hosťovská kúpelňa'
          hours_to_show: 8
          refresh_interval: 30
          title: 'Teplota a vlhkosť'
          type: history-graph

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ezatoncommented, Sep 8, 2020

This happens to me as well. Layout-card is in use, and I do not want to stop using it. The problem is that history-graphs show old state (including the hour) until you manually refresh the web page.

1reaction
danielolsson100commented, Aug 11, 2020

Any update on this issue ? I am facing the same problem with vertical stack and the History Graphs is not refreshing automatically but the rest of my cards seems to work

Read more comments on GitHub >

github_iconTop Results From Across the Web

History Graph Card (history-graph) not updating until the page ...
I have multiple history-graph cards in my dashboard. All worked well until 0.106.5 when these graphs stopped updating.
Read more >
History Graph Card - refresh_interval not working
History Graph Card (history-graph) not updating until the page is manually refreshed. Checklist I have updated to the latest available Home ...
Read more >
Visualize your Data! Home Assistant Energy Portal ... - YouTube
In this video, I provide an overview of the Home Assistant Energy Portal and the Statistics Graph Cards. I even throw in some...
Read more >
History Explorer Card Tutorial In Home Assistant
Click or tap on a graph and drag left or right to slide it through time. The card will stream in the database...
Read more >
Why does "refresh interval" refresh with incorrect data? - Reddit
I don't know what layout-card is, so I assume not. type: history-graph entities: - entity: sensor.ping_google_average name: Ping ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found