Fibaro's door sensor is basically the same idea:
https://manuals.fibaro.com/document/fgk-temperature-sensor/
Inside is a 4 screw header, Buy the DS18B20 temp sensor (I recently bought 6 - I have two expoxied into a 1/2" PVC plug if you need) and add it into the Door Sensor per those instructions.
I happen to have that Fibaro Door Sensor AND I have a spare DS18B20 -- I should wire it up and let us all know !!