I just bought one of these unit heaters secondhand. It has electronic spark ignition, not a standing pilot, so the wiring might not match 100%. But this is how mine is wired (and it works). 40 years old and indestructible 👍
The thermostat connects to terminals on my heater's pilot control...