My guess is HomePod will continue to play music at home but only if you play it via Apple Music. Any other way (AirPlay stream) is 'local', therefore i doubt it'll work the way you described.