I set up the electrical portion of my energy dashboard yesterday. I waited until today to start verifying the data since it took me a bit to set up my cost entity after getting my power monitor set up.
The imported energy cost on my energy dashboard is not correct. I am using an entity tracking total cost as I have fixed daily costs as well as multiple different “riders” that get applied to my usage. I have input number for these so I can update them on the front end whenever they change.
I have the entity set up as a template that adds up all the different $/kWh fees, multiplies them by my energy use and then adds the fixed fees. If I replace my Daily_Energy variable in my formula with the usage on my energy dashboard I get $2.95 where my energy dashboard seems to think the cost is $1.96
The entity you specify there does not get shown on the energy dashboard directly.
Every hour, the change in that entity is logged into long term statistics.
The energy dashboard then grabs all the long term statistics for the time period requested, and the growth of that entity over that period is what is displayed for the cost.
Thanks for the response. I should add that I checked the moment the energy dashboard(5 or 10 minutes past the hour) updated thinking the exact same thing. Still not a correct value. I am planning on checking every hour to see if it is a consistent $0.99 difference.
I will note that all my daily energy entities did not reset to zero last night due to a configuration issue in ESPhome(will see if it works tonight). I don’t believe it should have any effect on this though since the dashboard looks at home much the entity changed each hour.
I think I might of found the issue. My fixed fees add up to exactly $0.99.
Where I originally thought the fact that my sensor did not reset at midnight was a separate issue, I believe it is now the culprit. Since the reset did not happen there was no change at that moment to be recorded. My daily sensor will never reach 0 as the daily fees are applied immediately at the start of each day and the dashboard sees it as a change from 0 to 0.99 in this case.
I have confirmed this with my gas consumption as it has $1.66 in daily fixed fees and it is fully functioning. I believe this is resolved but will post back here tomorrow morning(working or not) for anyone else who runs into this issue.
Confirmed. My values are correct today. 12:01 am I had a cost of $0.99 and everything since is the correct value. If anyone runs into this issue it is important that your sensor resets daily.