Hi everyone, I wanted to share my experience and solution regarding an issue I encountered after upgrading my Home Assistant instance to version 85.1. I hope this can help others facing a similar problem.
After the upgrade, I noticed that my system had started recognizing an old Netgear router that I hadn’t previously connected to Home Assistant. Along with this, several new sensor devices related to the router were automatically added, such as ‘DGND3700v2 bytes received’ and ‘DGND3700v2 bytes sent’. While I appreciate the discovery feature, these sensors were unnecessary for my setup, and I wanted to remove them.
Initially, I tried turning off the discovery feature and adjusting settings in the device_tracker configuration. However, the sensors persisted. I even went as far as editing the .storage/core.device_registry file to remove the unwanted entries. Unfortunately, they kept reappearing after each restart of Home Assistant.
After some research and troubleshooting, I found a more effective solution. By disabling the discovery component entirely in the configuration.yaml file, I was able to prevent the sensors from being detected again. Additionally, I ensured that the show_new_devices option was set to false in the device_tracker settings to avoid future issues.
Here’s a quick summary of the steps I took:
-
Disable Discovery: Added the following lines to my
configuration.yaml:
yaml
homeassistant:
discovery:
ignore:- router
-
Adjust Device Tracker Settings: Updated the device_tracker configuration to prevent new devices from being shown:
yaml
device_tracker:
show_new_devices: false -
Clear Existing Entries: Manually removed the unwanted sensor devices from the
.storage/core.device_registryfile.
By following these steps, I was able to permanently remove the unwanted sensor devices and prevent them from reappearing. I hope this helps anyone else dealing with a similar issue!
If you have any questions or need further clarification, feel free to ask. Happy automating!