I have energy configured and working perfectly in the stock/core Energy dashboard (in the HA sidebar).
When I create by own dashboard using the stock energy cards, sometimes it works and other times the charts are empty. I can’t seem to find why this is.
When this happens, if I check the core energy dashboard - the data is showing correctly.
As no one else seems to be having the issue I would start by removing the custom-stack-in card and just put the energy cards separately in a dashboard section. This will eliminate the custom card as the source of the issue.
I am making progress investigating (i can reproduce it) but I have no idea what is causing the issue or how to fix it.
To troubleshoot, I have created a new dashboard. In this dashboard I have one view with core solar date selector and charts. I also have my normal / prod solar dashboard view in my main dashboard.
What I have found is there is something weird happening when the webpage reloads (shift control R in windows or command R on a mac).
If I reload web page on my prod solar view - then I get the issue with data not displaying.
If I immediately then view to the test view/dashboard. The issue is present. If I reload page on the test dashboard then data/page loads correctly.
If I then go back to my prod solar view, the data is correct again.
So there is something weird happening when the solar page is reloaded in my prod dashboard but not in test.