Ever heard of a place called Taranto?
I don't think ASV radar could be used to locate ships in harbour - why would you need to?
The KM stayed away from RN carriers as much as possible. To engage the RMI meant also engaging the land based axis aircraft based in Italy, Crete and North Africa, and enduring far more powerful airforces than the IJN ever gathered, after Pearl Harbour and prior to Philippine Sea.
Indeed, I agree, but very few night time radar attacks were carried out. So why are you so confident of the track record of such naval attacks when the track record doesn't really exist.
In fact it was the RN that went up against KB with two fleet carriers when the Kido Butai had 5 fleet carriers at Ceylon, versus 4 at Midway, against 3 USN fleet carriers and a much stronger land based airforce on Midway, than the FAA/RAF had on Ceylon.
I know, and look what happened to HMS Hermes.