Energy costs not calculated (showing 0,00)
The problem
This is the setting:

The daily usage works fine but the cost is always 0,00:


What version of Home Assistant Core has the issue?
2022.12.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
It started working (counting costs instead of displaying 0,00) after I created "duplicated" template sensors and used them in the energy dashboard:


but to me, it's just a workaround and should be fixed somehow.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.