Shelly Door & Window Sensor 2 [Bug] 
**Describe the bug**
Every time Shelly plugin is restarted. The temperature and battery state reverts to 0

My sensor is in a shed away from the main property so doesn't get much use, and sometimes takes days until the state corrects itself.

Would it be possible to the state to persist after a plugin restart?
