I have 2 solar panel systems I run at home (just got a new Enphase system that works along side my old system that came with the house)
I have managed to get the Enphase system to work in the Energy Dashboard but I can get the older System to do the same.
The older system isnt reporting to HA at all apart from a custom sensor I crated that takes the new system and divides the result by 6, its a very rough estimate but testing over the last month its the closet I can get.
That’s because it has the wrong unit. Energy is measured in kWh or Wh, not kW or W.
Also as well as the correct device class of energy you need a valid state class, (total or total_increasing). You can not do this with the old template sensor format.
This is why you should be using the new template sensor format. The old style is not getting updated with new features.
It has a strange issues (might not be strange) it started updating the energy page, but it was added alot more than it should. The sensor was showing 1.5kWh for the day so far and after 2 hours that had added 20ish kWh to the Solar total.
Yes like that. I don’t see anything that could have caused the template sensor to misbehave. Can you share the history of the template sensor sensor.old_solar too?
I have added the old solar back into the dashboard today and it appears to be correct now, maybe it didnt like being added in half way in the day and some calculations got out of wack, ill keep an eye on it.
I have also just bought a Tuya Life WiFi Energy Meter 80A with Current Transformer Clamp that I can attach to my old solar out going lead that will give me live updates so hoping that will replace this all together anyway