The data of the sensor is only stored for 10 days, long term statistics are not saved.
When setting up this sensor in the first place I did not define the state_class. I understood this might be the rootcause for not having LTS, therefore I added state_class: measurement later. But it did not solve the problem.
What else could be the rootcause for not having LTS saved?
Might there be a problem with defining the state_class after setting up the sensor?
Thank you, I updated the unit and restarted, but did not get any fix-issue button in the statistics area. I will check tomorrow if data remains longer than 10 days.
Here is an additional example for a sensor without LTS: