Xiaomi Mi Motion Sensor, 'MotionSensor_MotionTimer' NAN


I have installed Xiaomi Mi Motion Sensor but i am facing strange issue. Item ‘MotionSensor_MotionTimer’ always get NAN Value after rebooting openhab 2.2.


Please advise what should be done to keep that value static ?

Use a persistance service like mapdb with restore on startup.