Remove entity from energy dashboard

I have an old entity stuck in my energy dashboard. It doesn’t show the bin to delete it

Please advise. The entity does not appear HA.

Go to Developer Tools → Statistics. Click the “Fix Issue” button next to the entity id.

Thanks for the reply. Have done what you advised and restarted HA but still got the message and an extra message ‘statistic not defined’

Please can anyone help me with the above problem

Thank you