I’ve been tracking devices through my unifi controller for a long time with no issues. I recently upgraded to 0.99.3. and everything appears to be working fine… but. One of the kids got a new phone so I need to remove the old one from HA and add the new one.
If I understand correctly it looks like HA no longer uses the known_devices file. I have nothing in my known_devices file. And I don’t have a device tracker line in my config. All I have for unifi is:
I have lots of entities that show up like this:
[device_tracker.unifi_00_00_3b_06_1b_85_sm0mktix]
So it looks like they’re being pulled from the unifi controller. No problem there. Even the new phone shows up like this.
The problem is the old phone is still listed and HA is still expecting to see it. Is there any way for me to delete the old phone? Or maybe change the IP and mac address of the device_tracker entity?
Looks like if I disable it, update, then delete it, then it removes it from home assistant. Even though it says it won’t. I deleted several entities this way and they no longer show up in the states page. Now I hope it will get re-discovered.
On this topic and now that known_devices.yaml is depreciated, can anyone advise if it’s possible to add a custom icon to the UniFi device trackers as I’m missing those now?
Yes, that’s still supported. The field is named “entity_picture (JSON formatted)” and you can set any locally available images , like “/local/mypicture.png”
Seems there is a bug in 0.100.2? When you add the code as this: "entity_picture" "/local/David.jpg", it appears in customize.yaml as this and of course does not work.