I have a bucket-type rain gauge connected to Home Assistant via and ESP32 as a pulse counter. I have it configured to show rainfall per minute and total daily rainfall. However, I see some sites (usually using Davis weather sensors) that show Total Storm rainfall. I assume this starts counting when first rainfall is detected and stopped after some period of no rainfall. My question is, how do I configure this in Home Assistant? Do I need to use an automation of some sort to detect the start and end of the storm?