[OBSOLETE] Xiaomi Sensors and Button (beta)

The method to calculate the temperature in that device handler is incorrect for negative values.

You should try using the much more up-to-date device handler from the bspranger/Xiaomi GitHub repository. Also, there is a SmartThings forum thread dedicated to those newer updated device handlers for Xiaomi Zigbee sensors & buttons: