After you pair the remote to the xfinity box following the instructions here it should show on screen instructions for pairing with the connected TV for power/volume control.
Thanks but this isn’t working for me. I can’t even get the codes to pop up on the tv to input anything. The remotes have new batteries too. It’s beyond frustrating.
See if this helps: