`<unknown>` entities from renamed switch

New to ESPHome and playing around with a NodeMCU to try things out. I have added two GPIO pins to control the on-board LEDs and have that working fine. During this time, I renamed the switch pins and now in the device info, I am seeing two entries for <unknown>. I’m guessing these are from the old pin names since a new <unknown> shows up every time I rename a pin. How do I go about removing these entries?

You’re going to have to be a little more explicit about what you are doing. Can you share your yaml? Did you rename the switch pins in the yaml? What device info are you looking at?

I was able to remove them finally. Just had to wait a while and they finally showed up entities I think it was. It happened when I changed the name part in the nodemcu.yaml file in ESPHome.