I get on my homeassistant erroneous data when I reboot the sensor. How to fix it and to remove errors from history ?