Substitute of known_devices.yaml

I’m using the nmap and google home device trackers. The latter has filled my database with more than 100 detected devices. I used to delete the devices that are not interesting for me from known_devices.yaml. I did so, but nothing changed! Not even names or icons of known devices that I still want to track.
I see on the “Device Tracker” documentation page that

As of 0.94 known_devices.yaml is being phased out

but I can’t understand what is going to substitute it. What is the new way to manage the tracked devices?

2 Likes

The entity registry.

So something is wrong with my entity registry, because I can’t see any of the device_tracker entities in there… But I was still seeing all of them in the “states” page and in the history as well.

However, after several restarts the modifications to known_devices.yaml are now effective! Can’t understand what’s going on, I did not modify anything else, and just restarted for other reasons…

I just thought you might edit for the devices you need and change permission on that file to prevent unwanted modifications.

Known_devices.yaml is still supported for majority of device trackers, not all have been converted to not use.

Please don’t change permissions of files used by HA to stop them being populated as this could cause you issues in the future.

That’s fully reversible, just to be able to remember when it is changed.