UoM of Rainforest Eagle error " (AUD) does not match the unit of already compiled statistics (EUR) "

I have noticed an error in my log around my Rainforest Eagle that stopped the collection of long term stats. The full error is:

WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.eagle_200_total_meter_energy_delivered_cost (AUD) does not match the unit of already compiled statistics (EUR). Generation of long term statistics will be suppressed unless the unit changes back to EUR

The way I fixed this was using phpMyAdmin and changed the UoM to from EUR to AUD in the database and that seems to have fixed the issue for me.
Below is a pic shows 1 row changed and the other yet to change.

Hope this helps.

You can now also go to Developer Tools / Statistics to fix these sorts of issues automatically.

Oh that’s a much better idea! thanks @tom_l

Regards

nz_cam

I had no idea this even existed… must have been slacking when reading release notes. Do you remember when this was added?