Glad you got it figured out. I just wanted to add these fobs are sensitive mofos. Don't smack them, drop them, hit them or get moisture anywhere near them.
I had a similar issue a month ago after dropping my fob. Wound up replacing the batts in both. Still got that annoying little yellow key light. Took both my fobs into the car with me. Unlocked and locked with both fobs and the indicator light went away. Ya know, just typical weird Nissan things.