Statistics for deleted entities

Hi! I have a problem with removed entities and statistics. I have removed an integration and all (500+) of its entities are gone. Good. But, in the Dev tool - Statistics I now have this error: “There is no state available for this entity.” (500 times). The fix is to delete it, I do that, but next time I visit statistics it shows up again.

I have search the forum and there are some similar topics, many about the time consuming task to delete 500 issues by hand, which I did - then they just come back again :face_with_diagonal_mouth:

Anything I can do to fix this?

1 Like

I feel your pain. I’ve been using HA for years and never once looked at the Statistics page. Looked at it today and I have thousands of entities that are no longer in use that need their stats deleted. Surely there’s a better way than manually removing them one by one, this is nuts.

1 Like