Removing statistics of deleted devices in one click

After deleting a device/entry one has to manually remove statistics by going to Developer Tools ->Statistics and delete each entry by clicking them one by one.

This is getting very cumbersome once deleted entries are in several dozens and more.

Removing all these invalid statistics with one click will greatly simplify this task.

Don’t forget to vote for your own request.

See
https://community.home-assistant.io/t/statistics-fix-issue-large-amount-of-data/419728
for current solution and

for similar feature request (but on GitHub).

2 Likes