Ok I've had this situation for quite a while now, and for some reason it's bugging me more these days than in the past.
I have programmed a floor status button on both levels of the home on a keypad, so I am able to see if a light or device is on and when leaving the house/go to bed, and I can hit the one button and the entire floor shuts off.
I have a Sharp Roku TV in the master bedroom. Now at night the TV is off, but in the morning let's say I've got the ensuite lights on, the hallway lights etc. So when I go to leave, I hit the button to shut off the floor. But when the TV is off, and I hit the floor status button to shut lights off, the TV turns on.
I've tried many work arounds for programming and can't seem to make it work where if TV is off, do not execute the macro on the TV.
Can anyone give me any input on how to avoid this?