Rain sensor data (RTL-433 Acurite Atlas)

I have an Acurite Atlas weather station connected to home assistant using RTL_433 outputting to MQTT. I have configured the sensors in Home Assistant and they are working, but I’m not sure how to deal with the data from the rain sensor. The sensor data arrives as a cumulative measurement that reads in 0.01 inch increments. It will increment until it reaches 5.11" and then rolls back to 0". I need a way to turn the 0-5.11" measurement into useful statistics, such as rainfall per hour, day, week, month, year. I saw another topic suggesting using utility_meter, but I don’t know how to deal with the data rolling back to 0.

Any help would be appreciated.

Not sure if you already solved this one but I’m pulling in my Atlas weather station with a bunch of custom template sensors to help do stuff - the YAML package files are on my github