I had the same problem.
I figured out why it was not working. Hope this helps everyone else.
Page 34 of the Yamaha's manual discusses how to turn on the ARC setting and the CEC setting on the soundbar. My ARC setting was turned off out of the box.
Basically, Turn off the Yamaha. Then, while...