Bottom line, this trade wasn't about Huerter. It was about moving Jaden Ivey. He clearly wasn't happy, he never improved in the areas that matter (defense, finishing, turnovers), there was no room for him to develop here, they weren't going to give him the money he wanted this offseason, and he had a 30M dollar cap hold that would have hurt the team's flexibility in the offseason. There was obviously no trade market for him, so they go what they could get before this stretched into the offseason.
That said, Huerter is a better player than Jaden Ivey. It's marginal, but he is. Better finisher inside the arc, better career 3pt shooter, better playmaker, and a better defender. He's also an expiring contract, which is better for the team this offseason.
They also have the potential to move from 29 to 22 in a good draft. That's actually a significant jump whether you're drafting cheap talent or using the pick as an asset in a trade.
I'm disappointed they didn't trade him sooner to get more out of it, but let's be realistic. Jaden's injuries complicated the trade situation big time and every team in the league was seeing the same thing we were seeing every time Jaden stepped on the court.