How to configure Stop button with Logitech Harmony and Keymap for AM6B+

If you use the remote.conf file from the faq guide then add the Ugoos media player device (which I think is ugoos am6) to your activity, then when you press the Harmony off key that will usually switch off the am6b+. That works for me anyway.