Samsung tv auto change source

Hi

I’m new to HA is one able to guide how to make my tv charge input

Basically running my tv thought SmartThings which can turn my on but unable to setup for my charge input