I have no solution, some of my weather providers update 10m so way too late in this case. Hence a local rain-sensor would be the only realistic option imo.
What is the best way to detect rain? - Configuration - Home Assistant Community (home-assistant.io)
DIY Zigbee rain gauge - Share your Projects! - Home Assistant Community (home-assistant.io)
ESP rain detector - ESPHome - Home Assistant Community (home-assistant.io)
etc.