Switching input source on Samsung Soundbar via Apple Shortcuts

Read this thread: