Cant enable entity

Hi i had a switch, which i changed to light, i removed the light, but the switch is hidden, when trying to enable it, its greyed out?

Not sure if this advice was ever followed up on. I could not find any open issues: