Hello dave
you manage your unifi ap from the domain of your main router porbably 192.168.0.0/255.255.255.0
as soon as you put the ap on the edgerouter it get is ip from the hotspot domain 192.168.182.0/255.255.240.0

reset your ap config, put your controler on the same subnet than the hotspot put a static ip to the ap from the hotspot 192.168.182.2