Create "Smart App" that can switch inputSource on my Samsung soundbar (HW-N950/N960)

As @h0ckeysk8er and @nathancu said, nothing simple. The following topic discusses some of the details of how people are integrating the two.

Smartthings to Home Assistant in 2023?