ESPhome adopt show for device already adopted

I have a Sonoff Dual R3 lite setup from default ESPhome configuration. I changed the code so that I could add a features in. Sonoff Dual R3 & Lite | devices.esphome.io

After OTA of the code this device now constantly shows the same device ready for adoption. This fails to adopt if I try.

What causes this and how should I fix it?