A: extend the wires to the sensor, or B change thermostat housings.