Thx for replying! It's a Sonos wiresless playbar (not a sonos Beam).
I can't find anything in the settings of the sonos system related to adjusting the source.
I think the playbar is acting as a slave and doesn't give any signal to the TV via the optical wire, since the playbar outputs sound even when the source on the TV is set on 'internal speakers'. Any other surgestions?