Change entity id help

I had to re configure my IKEA tradfi due to IP addresse change. (Static now set) but when it set up my entities now have _2 on the end like bedroom_bulb_2 this has broken my automations.

I could change my automations but how can I change the ID back.

I did try to change it in the states Dev tool but it does not seem to change.

Any help

Use the Entity Registry in the Web UI. Configuration -> Entity Registry.

That sorted it.

Thanks