I checked just now and found no energy data available to me from pre Saturday October 1 2022.
Home Assistant 2022.9.7
Supervisor 2022.09.1
Operating System 9.0
Frontend 20220907.2 - latest
Did daylight saving somehow do this? Although I am unlikely to believe this is the problem as the change to clocks did not occur until 3am this morning 02/10/2022. I see no errors in the logs for emhass or sma energy meter. HA core was last updated nearly 5 days ago.
Not likely, itâs still working here and we started daylight savings last night. Iâm using the SMA meter integration too (at least until my IoTaWatt arrives - the SMA meter is not accurate).
Second troubleshooting step (first was check the logs, which you have done) is to check the actual data coming from the sensors you use for the energy dashboard.
Tom
yes there are multiple fix issues in this area. A sample of the error is
Unsupported unit
The unit of your entity is not a supported unit for the device class of the entity, energy.
Statistics can not be generated until this entity has a supported unit.
If this unit was provided by an integration, this is a bug. Please report an issue.
If you have set this unit yourself, and want to have statistics generated, make sure the unit matches the device class. The supported units are documented in the developer documentation.s.
I have a sneaking suspicion that my installation of a HACS build - battery sim which also pulled on the data from these sensors may have something to do with it.
If this is the case is there any way of reverting to a database from last week?
Tom,
here is a snip showing the units itâs looking for. The dashboard has units kWh only. It really looks like the battery sim thing has stuffed around with the data. Where do I go about changing these back?
Tom
I tried rebuilding the sma energy-meter. When i checked the debug logs in that a number of the âunit_of _measurementâ values varied from accepted W, kWh, and had values Var and VA.
This may be the issue? the batterysim integration may have changed them in the database? If so how do i change them back. All should be in form kWh???
pat
I had this happen to me about 3 months ago. Never found a solution. I had hoped that more people experienced it and then we could find some way to access the data (which I am sure is locked away somewhere in the database)
Well, this happened to me yesterday. I did update in the afternoon to 2023.9.0 but I not 100% sure if energy history was still available before the update. I remember looking at it a couple of days ago and it was fine. When I browse through my history it says âThere is no data for this periodâ
Is there a way to query the database and see if there is still some history?