Enviro Weather (Pico W Aboard) - Weather Station Kit - Rain sensor

Hi, there is an issue with the rain sensor, it is logged as issue 70 on Github that when it rains it does not wake on scedhuled alarm so you dont get readings. Is there any sample code on how to fix this. I have tried a cople of ways but cannot get the RTC alarm to be set again after it wakes for a rain reading. Any help would be much appreciated.