The grey wire connects to ESI ESWCPCB3CB PCB at ROOM STAT2 N/O
The black wire connects to an electrical block connector and colour changes to a blue wire - which then feeds a separate junction box 2.
Now about that COM wire?
1) Not connect it to anything, terminate in electrical connector.
2)...