Connecting Hue is one of the trickier integrations with ST because there are several methods available. It sounds like you may have used two different methods which is causing the duplicates. That is one possibility. Can you provide a few more details: 1) this is the first time you added Hue to ST? 2) can you go through the set up process you took to add them (go through the process in the app and carefully look as there are a couple of links on each screen)… one near the top (linking your account - which is the cloud to cloud connection) and at the bottom of the Screen (next) which is the direct LAN connection and there is also the Matter integration but not on that screen. Which option did you choose? Don’t complete the add again when you are looking at those screens. Which hub do you have or appliance if that is the case?
Another possibility is my recollection may be off (@jdroberts has pointed that out) because I already have Hue installed and don’t see the step he points out