Hello, is anyone know a way to delete old trackers from DB

i have about of 950 entries of ble tracker

device_tracker.ble_xx_b7_3d_f9_2f_xx
ble_xx_b7_3d_f9_2f_xx
not_home	source_type: null
friendly_name: ble_62_b7_3d_f9_2f_dc

is anyway to clean them out ?

things that i am already tryed:

  1. removing trackers from config
  2. i have no known_devices.yaml (i have MARIADB)
  3. How to remove device_tracker from database?

Wait 10 days.

1 Like

i set purge to 1 day and wait… nothing happends ,looks like source type: null wrong here

Do a manual purge in Developer Tools / Services with repack set to true.

just doesnt nothing

The trackers aren’t stored in the database. See this post:

https://community.home-assistant.io/t/how-to-remove-device-tracker-from-database/88775/8?u=tom_l

1 Like