No statistics for binary sensor (moisture)

Hi,
I have a leakage binary Zigbee sensor plugged with MQTT.

Sadly, I don’t have any long term history for this sensor (less than 2 days). Isn’t the default of purge_keep_days set to 10 days ? Is there a reason why this binary sensor is flushed like that ?

The device itself is fine, I have months of data for the device battery.

I didn’t do any config on the device, I have the default Z2M integration.

availability:
  - topic: zigbee2mqtt/bridge/state
    value_template: '{{ value_json.state }}'
device:
  hw_version: 0
  identifiers:
    - zigbee2mqtt_...
  manufacturer: SONOFF
  model: Zigbee water sensor
  model_id: SNZB-05P
  sw_version: 1.0.2
  via_device: zigbee2mqtt_bridge_...
  name: CapteurFuite
device_class: moisture
object_id: capteurfuite_water_leak
origin:
  support_url: https://www.zigbee2mqtt.io
  name: Zigbee2MQTT
  sw_version: 2.2.1
payload_off: false
payload_on: true
state_topic: zigbee2mqtt/CapteurFuite
unique_id: ..._water_leak_zigbee2mqtt
value_template: '{{ value_json.water_leak }}'

Thanks for your help !

Long term statistics are only kept for sensors with a state_class of measurement, total or total_increasing.

But otherwise I think they should be kept for 10 days, as you say.