Skip to content

Turning off the Recorder for Teamtracker Sensors

David edited this page Sep 30, 2022 · 1 revision

By default, the recorder saves sensor states for ten days. This can cause the home_assistant_v2.db to grow significantly. You can exclude team_tracker sensors from being saved by the recorder by including the following in your configuration.yaml file.

Note that if you do this, you will not be able to trigger any automations based on state changes.

recorder:
  exclude:
    entities:
      - sensor.team_tracker_1
      - sensor.team_tracker_2
      - sensor.team_tracker_3

If you use a standard naming convention for your sensors, you can exclude multiple sensors as follows:

recorder:
  exclude:
    entity_globs:
      - sensor.team_tracker_*