I used to have Wi-Fi connection issues that magically went away when I swapped my Linksys Velop network for an eero Pro system. HomeKit works every time now, there are never any unresponsive devices, and all my HomePods work great. I'm not sure this is a HomePod issue based on how immediately the router switch helped.