How to get rid of old entities that are no longer exisiting

I have under automation some events that i had removed and they are not in my automation file but in the overview screen they are being referenced with an error. How can I get rid of this ?
I am on Home Assistant 0.87.0

adjust your user interface to reflect that change by removing the entities from the card.

How do you remove the entities from the card. That is what i am trying to figure out and my search has not come up with a result.

There’s a video in the link I provided that shows you how to edit your interface. I suggest starting there and playing around with the interface. It’s very intuitive.

My apologies. I missed that and was viewing it from my phone and it was just an image.

With your assistant I have resolved my issue.
Thanks so much