How do I remove statistics of deleted devices from a command line/config

After deleting a device I have to go to Developer Tools ->Statistics and click to ‘Fix Issue’ one by one.

Is this the only way to clear deleted entries?

Yes, unless you are competent with SQL and can edit the recorder database tables that way.

OK. Are there any plans to introduce a feature to delete/fix all these invalid stats in one click?

Not that I am aware of. You can request it in the Feature Requests category of the forum.

Thanks. Just did.

And here’s where: