Seeing the amazing additions to 2022.8 I upgraded HA and my energy cost calculations have gone haywire. My google foo has failed me and I can’t figure out where my calculations are going crazy so I’m reaching out in desperation. Wall of text and images below. Thank you to everyone in advance.
Some background. I’m running HA in Docker with Enphase micro inverters for my solar setup. Following this thread I was able to get my energy dashboard running great and even found some areas where I can reduce wasteful consumption. All was running well from June up until the upgrade to 2022.8. After upgrading I started seeing energy costs in the thousands of dollars and started trouble shooting with no luck. The dashboard appears to be reporting the data correctly and the variable price is set correctly in the helper, but the cost calculations are getting lost in translation. Below are screenshots of the sensor configs along with the data they’re outputting.
Energy dashboard readings VS Enphase dashboard
Sensor states from developer tools
Energy Price Sensor
I sincerely appreciate your time and help.