[OBSOLETE] Xioami Zigbee Door/Window Sensor, Motion Sensor, & Smart Button Device Type

Which DTH are you using? The older ones linked to in this thread do not report battery voltage correctly.

You should use DTHs from this thread: