Need to monitor how long my water pump has run

Recently I had a water leak under my house in the crawl space. I found it doing my before winter inspection of the insulation when I saw a lake forming across the slab.

Looking at my power monitoring (Circuit Setup), I could see abnormal activity over the 10 days of history.

So how do I make an automation to look for the pump running too often? Suggestions on where to start would be helpful.

Thanks,

Hi Wes, have a look at these search results: Search results for 'count times' - Home Assistant Community