So I have this entity with a light component and everything was working fine until I removed it, once I removed it there was still light being shown so I just deleted the whole entity but it still stayed there…
This is a bug. If the entity that owns the light component is deleted, the light is correctly removed. But if the light component alone is removed from the entity, the light remains in the scene. I have submitted a bug report on your behalf here:
Please subscribe to that issue if you would like to receive real time updates on progress with a fix.