I updated core, and now I have a bunch of warnings:
sensor: state_class_removed
The entity no longer has a state class
We have generated statistics for ‘Dishwasher Current’ (sensor.dishwasher_current) in the past, but it no longer has a state class, therefore, we cannot track long term statistics for it anymore.
But this is a power plug, one of 4 we own - the others don’t have this warning.
Also stuff like this
The entity no longer has a state class
We have generated statistics for ‘Tablet Battery Level’ (sensor.tab_battery_level) in the past, but it no longer has a state class, therefore, we cannot track long term statistics for it anymore.
The unit has changed
The unit of ‘Front Door Battery’ (sensor.front_door_battery) changed to ‘%’ which can’t be converted to the previously stored unit, ‘’.
If the historic statistic values have a wrong unit, you can update the units of the old values. The values will not be updated.
Otherwise you can choose to delete all historic statistic values, and start over.
I seem to have the same issue as described above. I tried creating several group sensors using the UI which sum the energy measurements for several devices. It all seems to work fine then periodically I get the sane errors:
We have generated statistics for ‘AV & Networking Total Energy’ (sensor.av_networking) in the past, but it no longer has a state class, therefore, we cannot track long term statistics for it anymore.
The multiple group sensors that I created last week will be working fine for multiple days, then periodically I will get this error message.
I’m not sure why it works correctly then will throw the error. That behavior seems like a bug. Is there any open bugs on this topic that y’all have found?