Recorder: excluding doesn't work

Hi, im struggling with the recorder configuration.

I excluded several things, but these are still available in the history. Even after host restart and manual purge (keep days 31, repack true). Purge is started by an automation every night.

Where is the mistake in my configuration.yaml?

recorder:
  db_url: !secret mariadb
  auto_purge: false
  exclude:
    domains:
      - device_tracker
    entities:
      - sensor.time
      - sensor.date_time_iso
      - sensor.yr_symbol
      - sensor.rasen_next_cycle
      - sensor.nachsaat_next_cycle
      - sensor.rasen_watering_time
      - sensor.nachsaat_watering_time
      - weather.openweathermap
    entity_globs:
      - sensor.ipad_*
      - sensor.iphone_*
      - sensor.openweathermap_*

Hey Philip, willkommen!

The configuration seems fine. Do the values in the history get updated?
Usually it shows the last value (it had when added to the exclude list) until the 31 days have passed.

2 Likes

Ok maybe this is the solution and I understood it wrong.
sensor.openweathermap_* sensors didn’t get updated since 7:52 today, when I added them to the list.
I’ll watch it.

Great, seems to be working then! :+1:

Yes, this also had me confused at first - but it makes sense. The “old” data is still there, as it hasn’t been purged yet.

Let me know in case they should still be there in 31 days!