Automation to turn on SKY Q box

Looking for some help on how to create a automation to turn on SKY box when TV is turned on.