Open pes001 opened 3 weeks ago
I can confirm this bug, last functioning version is 2.0.4. (over one year old).
I found some apexcharts-card: TypeError: this.series is null
and Uncaught (in promise) TypeError: this.w.globals.dom.Paper is undefined
in the console log.
One theory could be that HomeAssistant has changed the availability of sensor-data (on load) and 2.1.x versions of apexcharts-card don't handle these situations. Apexcharts-card probably needs some mechanism to retry reading sensor-data without throwing an exception.
Checklist
Describe the bug Since updating to the verison 2.1.0 line and area chart doesn't work in my dashboard. Column type works as before.
Version of the card Version: 2.1.2
To Reproduce This is the configuration I used: Configuration that doesn't work:
Configuration that works:
Screenshots
Expected behavior Graphs of line type should appear as the column type ones
Desktop (please complete the following information):
Browser Chrome
Version 129.0.6668.101 (Official Build) (64-bit)
Browser Edge
Version 130.0.2849.46 (Official build) (64-bit)
Smartphone (please complete the following information):
Additional context Everything was correct in version 2.0.4. It appears in both instances of Home assistant I have.