I think it would be good to delete the raw data after a certain retention period (Home Assistant uses 60 days). If a system does not send an update within 60 days we can conclude the install is not active anymore, so it can be deleted to not skew the totals.
I think it would be good to delete the raw data after a certain retention period (Home Assistant uses 60 days). If a system does not send an update within 60 days we can conclude the install is not active anymore, so it can be deleted to not skew the totals.