The Xiaomi / Aqara Door/Window sensors were not designed to work as a temperature sensor.
The temperature reporting feature is actually the internal temperature of the device, not the ambient air temperature, and is only reported once an hour. So it is not useful.
However, if I can find time, I plant to add that feature to the GitHub/bspranger/Xiaomi device handlers.