Darkky - extract daily rainfall amount

Does anyone know if you can get the amount of daily rainfall out of Darksky? The entity weather.darksky shows this in a weather forecast card but can’t see it as a monitored condition. Precip_accumulation only shows snow.

Don’t know how to do it natively but if you use something like mysql for your history recording, you could create a command line sensor that performs a mysql command to query the sum of the precipitation intensity (which is a mm/hour measure) averaged over each hour for the day. I’d suggest the SQL to use but I think you’d need two steps - one creating a temporary table of hourly averages and the second querying the sum of those … can’t think how to do that without a bunch of googling.

The integration sensor does this, no need to reinvent the wheel :wink: