It can’t so I’ve already removed the the link in Harmony to the real hub. But it still wouldn’t pair with the emulated hub with the real hub turned off.
The Harmony app detects a hub (am assuming it is the emulated one since I unplugged the real one and released its lease in my router). But it just says pairing forever and it never gets off the message waiting for the press. Eventually it justs says unable to pair as a warning.
I think there is something to do with my Docker IP table set up or that I should have used a different advertise_ip. Not sure what was wrong with it exactly though so I couldn’t fix it. More likely it was Docker though since I recall removing the advertise_ip and advertise_port lines from the configuration.yaml before and it didn’t work. Anyways, I ended up doing the following:
Uninstalled Home Assistant and Docker on my Raspbian device
Installed Hassbian from the image and then reset setting up from scratch
Almost the same configuration.yaml now has Harmony happy adding the emulated hue hub over the real hue hub. (I removed the advertise_ip and advertise_port items.)