aex351 / home-assistant-neerslag-card

Display Buienalarm and/or Buienradar data in a graph for Home Assistant.
30 stars 3 forks source link

Integration messes up state history graphs #19

Closed YannickvanVugt closed 3 years ago

YannickvanVugt commented 3 years ago

Since I installed this card I have issues with state history graphs, the states will go black or blank and no text will be readable. When deleting the integration it is back to normal.

Issue only seems to occur at first loading of a graph, after a refresh of the page it is all ok, until close the tab/app and open it again.

Core: core-2021.6.3 Supervisor: supervisor-2021.05.4 Hass OS: Home Assistant OS 5.13 HACS integration: 1.12.4 HACS frontend: 20210429001005

Without Neerslag card installed image

With Neerslag card installed image

aex351 commented 3 years ago

I am unable to reproduce this. The Neerslag Card is a web component, which means from a technical point of view that it's a single package that does not impact other packages. There is no specific code that is changing anything from the state history graphs. I'm assuming the problem is caused by some form of caching/loading mechanism of Home Assistant itself. I am not sure how the Neerslag Card could be the root cause of this problem.

YannickvanVugt commented 3 years ago

I am unable to reproduce this. The Neerslag Card is a web component, which means from a technical point of view that it's a single package that does not impact other packages. There is no specific code that is changing anything from the state history graphs. I'm assuming the problem is caused by some form of caching/loading mechanism of Home Assistant itself. I am not sure how the Neerslag Card could be the root cause of this problem.

Isn't it strange that it is both happening in the app as well as the web version, both in Chrome and Firefox, all latest version? Install is fresh, re-did everything last weekend.

aex351 commented 3 years ago

It is indeed strange, however I am not convinced that the Neerslag Card could be the cause of this. The only connection is that it seems to happen in your case after you installed the Neerslag Card. Maybe you can check if there are any log files in Home Assistant that might point to the root cause and check in the browser developer console to see if there are errors/indicators.

Looking at your screenshot it seems to me that the particular component (history graph) isn't loading correctly.

aex351 commented 3 years ago

Closing this issue as there are no other reports / comments on it.