Xiaomi Mi Motion Sensor, 'MotionSensor_MotionTimer' NAN

Hi,

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.

image

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

Use a persistance service like mapdb with restore on startup.