Remove old device_tracker entities

Hi ALl,

I removed all my device_tracker platforms. Removed the known_devices.yaml file
Reboot HA.

But after the reboot all devices are back in known_devices.yaml…

What is the best way to get remove them?

Hi,

I believe there (still) must be the term device_tracker somewhere present, have a look here.

Checked everything this is my config device_tracker:
So there is nothing that can create again those entities.

###########################################################################################
# ICLOUD3
# https://github.com/gcobb321/icloud3
###########################################################################################
- platform: icloud3
  username: !secret icloud_username
  password: !secret icloud_password
  tracking_method: famshr
  config_ic3_file_name: "/config/config_ic3.yaml"

I checked everything and there is no other thing that can bring back those device_tracker entities
All of them have this when I click on it:

This entity does not have a unique ID, therefore its settings cannot be managed from the UI. See the [documentation](https://www.home-assistant.io/faq/unique_id) for more detail.

Ok, im so stupid!!!

I had still this in my configuration:

###########################################################################################
# ASUSWRT
# https://www.home-assistant.io/integrations/asuswrt/
###########################################################################################
# host: !secret asus_ip
# username: !secret asus_user
# password: !secret asus_pass
# protocol: ssh
# port: 7055
# sensors:
#   - devices
#   - upload
#   - download
#   - upload_speed
#   - download_speed

And was thinking this was only for the upload/download/speed etc… But then I saw DEVICES !!!
Removed this part and now all my old device_trackers are gone !!

1 Like