Don't delete statistic values (long term / mqtt / energy dashboard)

Hello.

I have defined a sensor in mqtt_configuration.yaml.
I use this sensor in energy dashboard since 2023.

Now i have seen, that i don’t have values befor december 2024. For me it looks like, that all values older since one year are deleted.

How I can configure, that all my values are never deleted?
Or maybe easyer: How I can set my sensor, that the values are saved in long term statistic for ever?
I don’t will use the InfluxDB.

    - name: evcc_charge_energy_wh
      unique_id: uniqueid__evcc_charge_energy_wh
      icon: mid:battery-charging-high
      state_topic: "evcc/loadpoints/1/chargedEnergy"
      unit_of_measurement: "Wh"
      state_class: total_increasing
      availability_topic: "evcc/status"
      device_class: energy

They aren’t deleted, unless the entity is deleted, or you executed a repair with the option to delete. Could it be the entity id changed around that time?