Durring Summer Game Fest, a new Harry Potter game was revealed, but it's not related to Hogwarts Legacy. The game focuses on the in-universe sport Quidditch and is called Harry Potter Quidditch Champions. The game has a light, cartoony style (especially compared to Hogwarts Legacy). This isn't the first Quidditch-focused game. Harry Potter Quidditch World Cup released in 2003.
For more on Harry Potter video game, you can rad our review of Hogwarts Legacy here.