I think the problem is because the original HomePod is not recognised as a HomePod, but as another network device. That is also why I opened another ticket regarding the missing icon. But I niw think this is correlated. If the HomePod is recognised properly your fix will probably work and it will get an icon.