That didn't work. My apple TV is connected to a bose receiver, when apple TV turns on Bose receiver turns on as well. Not sure if receiver is cause of my problem.
Anyways, I took following work around to get this to work

Now the problem is If Apple TV is already on, it starts playing then after 5 seconds, it again starts playing. So, I want to check if Apple TV is in sleep mode, and tried to get the state of Apple TV. this doesn't work (this works with other Accessories). I even tried conditions like, If Accessory State doesn't have a value or does have a value, but It doesn't let me select "Home Accessory" as Apple TV (again works with other Accessories). see below screenshot . Is there anyway, I can say if Apple TV is in Sleep mode, do something else do other thing?
