Thanks dojj.
I've attached a picture showing where the sensor is. There's a lot of grease on the lock ... dont know whether this could be creating an issue?
I dont have any issues locking the bonnet. If I open the bonnet the dash display will warn me that the bonnet is open and I can click on OK to clear the warning.
The car is not alarmed while in the garage.
Cheers Phil