Allow specifying both an internal url and nabucasa and automatically determine which to use. iOS HA app allows registering of SSID's to determine which to use, consider a similar approach but how to tackle wired as well as wireless.