Closed MaciekzP closed 1 year ago
Please can you use the template that is pre-populated for bug fixes. It provides all of the relevant information required to investigate and fix problems. Without that template being populated I will be unable to progress this bug.
I've looked through the code, this is correct behaviour.
I think you're misunderstanding how the Energy Dashboard works in Home Assistant.
It doesn't work by taking the kW or W output of a device and then calculating the kWh from that. Instead it takes a running total of the kWh and then aggregates it/separates it over time.
If you select that value I can promise you it'll give you the expected result.
Describe the bug
When adding PV production in energy dashboard only "Lifetime energy output" entity is displayed. To Reproduce
Device(s): Inverter
Home Assistant information
Additional context
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics