home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.8k stars 2.59k forks source link

Wrong energy consumption if solar energy is available after returned energy sensor added #17902

Open slovdahl opened 9 months ago

slovdahl commented 9 months ago

Checklist

Describe the issue you are experiencing

I got solar panels installed in the beginning of the summer, but from the start until last week, I was only able to get the amount of produced solar energy into HA and nothing about how much of it I consumed myself or how much went back into the grid. Last week, I got a new energy meter, which means I could now add information about returned energy to the energy dashboard.

However, after doing that my total consumption for June, July, August and the beginning of September according to the energy dashboard is way off. It sums all the produced solar energy and all the energy I bought from the grid as my total consumption.

energy

Beforo I added the sensor for returned energy to the dashboard, only the blue bars were present in the top graph above.

Describe the behavior you expected

For the months without data about returned energy, it cannot be assumed that the produced solar energy was consumed by oneself, and only the amount of energy that was actually bought should be included.

Steps to reproduce the issue

  1. Add energy consumption sensor to energy dashboard.
  2. Add sensor for amount of produced solar to energy dashboard.
  3. After some time, add sensor for amount of energy returned to the grid to energy dashboard.

What version of Home Assistant Core has the issue?

core-2023.9.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Browser independent

Which operating system are you using to run this browser?

No response

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

github-actions[bot] commented 6 months ago

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.

slovdahl commented 6 months ago

Still an issue with 2023.12.1.

github-actions[bot] commented 1 month ago

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.

slovdahl commented 1 month ago

Still an issue with 2024.5.3.