home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.73k stars 30.85k forks source link

Energy Cost statistics reset sometings and lost the next value #88678

Closed MiguelAngelLV closed 1 year ago

MiguelAngelLV commented 1 year ago

The problem

Hi!

I am using Energy Dashboard with a entity of actual cost for calculate the cost of energy.

Initialy works fine, but, sometimes, I don't know why, HA reset the statitics and lost the next value:

These is the sensor.importation_neta_cost

image

And these is sensor.importation_neta , that not reset never

image

What version of Home Assistant Core has the issue?

core-2023.2..

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

Energy

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

MiguelAngelLV commented 1 year ago

The problem is when I restart Home Assistant

Screenshot_20230223-212214_Home Assistant

MiguelAngelLV commented 1 year ago

My consuption sensor only update one time each hour, at 59, can be the problem?

MiguelAngelLV commented 1 year ago

I found other issue, close here

https://github.com/home-assistant/core/issues/79638