Solved - Confused about how device_tracker gets enabled

I’m having problems with unifi devices showing up on a “virgin” hassio HA.

I used to use the unifi device_tracker platform, but it was far too verbose, so I’m trying to get rid of its footprints. To do this, I’ve done the following:

  1. Stopped homeassistant
  2. Deleted home-assistant_V2.db
  3. Disabled the unifi device tracker (and MQTT for other reasons)
  4. Started homeassistant.

Despite this, I am still seeing a load of badges from unifi, and references to unifi initialising in home-assistant.log. See images.



Given that the system is “clean” and unifi is clearly disabled; why are the badges appearing?

I found the reason. Although there was no way to “discover” the unifi devices, they were being stored in the .storage folder. Deleting that removed them.
However, it also deleted my login details and lovelace configuration, so maybe be a bit selective about what to delete in .storage

you can delete entities from the entity registry in the ui without deleting things everything in .storage. Also, you’re currently in AutoUI mode. That means, when you add devices, they appear in your front end. This will stop as soon as you ‘take control’. So you could integrate all these devices and exclude them from the UI, but ultimately use them for automations.