I added my TV/Blu-ray/Receiver/etc. based on one of the Remote codes, but not all the buttons work.
Some devices from the same manufacturer use codes that are similar. As a result, the Power button may work for a code but the rest of the buttons don't. A different code will probably work. When you test out the code, check that all the buttons you would like to use work properly. To change the code, first remove the device and then add it again.