Hi @RosieUK ,
I suppose you are using Tuya NEO Coolcam Zigbee Water Leak Sensor driver. In version 1.0.6 that most probably you are using, the timer for checking whether the device has gone offline was set too low - only 3 hours. If the driver does not receive any battery reports or any other 'heartbeat' data from the device in the last 3 hours period, it will be considered as being offline to HE hub, i.e. potentially not functional. That's why the driver sends an event 'not present'. Probably an hour later the water sensor reports the battery level and the status changes back to 'present'.
I have extended the check period from 3 to 12 hours in the next version of this driver but it is still done only in the developments branch version. I hope will push the update via HPM in the next days. Until then, you can manually update the driver to the dev. version (linked in the second post here), or you can simply ignore the error until the next version is published.