Hi @tom_l
Are you sure about this?
I restarted several times and did not lose the latest value (sensor contents), just the recorded history. From my understanding of the recorder integration, it is all about persisting the state history, not the current/latest value itself.
As I am storing the day’s history in the latest value, it seems to work well.