Help figuring which wires to solder (5pinJST to 6pinJST)

So I’d like to replace the male sensor pieces from my hub motors (5pinJST) to 6pinJST so that they fit into these FVT sleeping Lions. First off, is this even possible?

The problem, as you can see, is that the 6pinJST I want to solder on is not color coded and I have no idea which phases would go where. From what I’ve read I would just not solder the temp wire (the extra wire out of the 6/5) but I have no idea which wire is temp here. They are all black…What do I do??