I am having a problem with Aqara temperature sensors. I have Mariano’s edge driver, but this happened also before edge.
The issue is that they goes to 0ºC and come back later to normal readings, some times instantly, others after a while. This is a big problem because I have some automations depending on their readings to turn on a heater or a ceiling fan, depending on the temperature. So, now that is hot during night, it turns on the heater during night.
I can’t tell you how to prevent the bad reading, but you may want to add a time threshold to trigger your automations. For example, trigger if the temperature had been < x° for 5 minutes.