Some questions about the “Change device type of a switch” entities

Some time ago I changed the type of some of my Klik-aan-klik-uit switches (that control lights) from “switch” into “light”.
This is working fine, but I now appear to have double entities for those switches.
This are two examples:

Both entities appear to be working as a switch, but the “_2” versions are now related to and part of the automations that I created before. The probably older entities without the “_2” extension are not related to anything.
I tried to remove one of these older entities, but this appears to be impossible (even after a restart of Home Assistant):

afbeelding

My questions are:

  1. What is the background of these double entities?
  2. Would it be safe to delete the non-related entities?
  3. If so, how can I do that?
1 Like

I can do it

I would leave the switch itself in the switch domain. In your case, switch.schemerlamp. Then the change would simply be light.schemerlamp.