Smart switch 6 making database file massive

Hi,

I have an issue where my database file is becoming massive (multiple gb) and eventually causing HA to crash/freeze. I have tracked it down to my two Z wave Smart switch 6s that have automations based on power useage. Is this a known issue with these switches or gave I configured them wrong? Is there a way to keep these switches from being in the logs/history?

I have disabled logbook and history and that is a temporary fix but I would like to get it working again.

Thanks

You could exclude the sensors from history:

Or set the log levels higher for those sensors:

Or you could move from the standard DB to MySQL. I have two Aeotech SS6’s for my washer/dryer automations and I’m on MySQL and haven’t run into any issues.

Great this was what I needed. Thanks

Can you see anything wrong with my config here? I keep getting errors. It’s a separate file I have recorder: !include yamls/recorder.yaml

it’s is set out like this

- purge_days: 3
  excludes:
    entities:
      - sensor.aeotec_zw096_smart_switch_6_current_2_20
      - sensor.aeotec_zw096_smart_switch_6_current_3_20
      - sensor.aeotec_zw096_smart_switch_6_energy_2_0
      - sensor.aeotec_zw096_smart_switch_6_energy_3_0
      - sensor.aeotec_zw096_smart_switch_6_power_2_8
      - sensor.aeotec_zw096_smart_switch_6_power_3_8
      - sensor.aeotec_zw096_smart_switch_6_previous_reading_2_1
      - sensor.aeotec_zw096_smart_switch_6_previous_reading_3_1
      - sensor.aeotec_zw096_smart_switch_6_voltage_2_16
      - sensor.aeotec_zw096_smart_switch_6_voltage_3_16
      - zwave.aeotec_zw096_smart_switch_6_2
      - zwave.aeotec_zw096_smart_switch_6_3

Just that it should be exclude: instead of excludes: everything else looks good to me.

Thanks, I checked it several times but obviously missed it