In terms of actual inputs, the Sonos Beam and Sonos Ray are similar, except for one major category: the audio connection between the soundbar and your TV. The Sonos Beam (Gen 2) has an AC power ...
If you happen to be setting it up within 2 feet of the ceiling, Sonos recommends mounting it upside ... a minimum of one inch beneath the TV for the Ray and Beam, and at least 4 inches for the ...
So you could have the Sonos Beam Gen 2 in your living room, a Sonos Move 2 in another room, and maybe a Sonos Ray connected to another TV in the home, and play audio on all three with zero lag.