Replace 'not_home' entity in device with 'home' entity

I have in HA two device tracker entities with the same MAC address. One is not seen by HA (not home), the other one is seen by HA (home).
The “not home” entity is connected to the device.

How can I replace the “not home” entity in the device with the “home” entity?

Hi @Djiest
Can you share why/how you have two entities with the same MAC address? Right away my first thought is that sounds like an issue in itself.
If you look in your known_devices.yaml file for these two entries what do you see for the “track:” value. If you want HA to keep track of the state changes of any of these devices you need to have “track: true” as the setting.
Nick