Automation: soundtouch and LGtv

Hello,

I am new to home assistant and I would like to make my first automation, I have two media players LGTV and Soundtouch. I wish when the TV turns on the soundtouch turns off can someone help me with this

Thanks