NSPanel Blueprint. How to use an external DS18B20

I want to use an external DS18B20 for the thermostat instead of the NTC sensor (GPIO38). Where do I need to add/change the code so that the thermostat template doesn’t read the sensor as NTS, but as DS18B20?