Video Doorbell Pro - Buzzing Transformer

I installed a ring video doorbell pro at my house in the UK. I used the supplied 24v transformer connected straight to the mains 240v, then from the transformer straight to the doorbell.

No external chimes or other equipment installed.

The transformer is buzzing loudly, has anyone else had this problem? What would the fix be?