Resetting/Refreshing Lovelace.ui when renamed entities

I changed some entities (lights) in my .yaml files, renaming them from Dining_Light1 to Dining_First_Light.
Now my lovelace ui shows “entity not available: light.dining_light1” and also shows the new light.

I assume I have plenty of these changes that aren’t registered by Home Assistant. How can I make it regenerate the UI and other parts?

stupid question: have you tried to click on the 3 dots on the top right hand-side and clicking on refresh?
image

you have go in side lovelace and change the the entity_id: as that the heart of it