The Sonos Beam has only one HDMI port and can therefore be connected to an HDMI ARC port of the TV. You don't need any other adapters.
If the TV does not have HDMI ARC, you need a device that converts optical audio to HDMI, which is exactly the opposite of what this device offers. Sonos lists
https://www.sonos.com/en... on their site and mentions it in the manual of the Beam:
https://www.sonos.com/support...