I have several entities defined in a custom component that exposes binary_sensors and switches. When I comment specific ones out and reboot HA, the entities continue to show up in HA. Similarly, I have a cover template that includes these entities. Again, when I comment out the cover template, reboot HA, the specific cover template is still in HA.
Reading the forums, there is mention of a known.yaml, but I do not have this file. I have also tried removing the entities through Settings → Devices & services → Entities, but the entities in question all have the “read-only” symbol beside them.
Have you tried disabling the integration these entities belong to( and all related automations, scripts, templates, where these are referred to ), restart Ha, then delete the entities
I tried that. Commented out my custom component in configuration.yaml, commented out all references to the entities in all my .yaml files. Yet, even after a reboot, the entities continue to linger. They’re still marked as “read-only”, so I cannot delete them through the UI either.
I “missed” that it was an integration in configuration.yaml , thou ofcause the suggested solution is always an “option”, regardless whether there is an existing integration or not. ( as a last “resort” )