Question: how to program a xfinity remote to tv?
Answer: Turn on your TV.
Press and hold Setup until the light at the top of the remote changes from red to green.
Enter 9-9-1. The light should flash green twice.
Keep pressing CH ^ until the TV turns off.
Once the TV turns off, press Setup to lock in the code.
Press the TV power button on the remote.