Careful With That 40VA Transformer
A 40 VA transformer is rated for 40 VA or Volt-Amps on the secondary.
For a typical 24 volt secondary this is simply using watts law to calculate amperage.
40 ÷ 24 = 1.666666 ∞ (round up to 1.67 already)
So you cannot place more than 1.67 amps of constant load on the transformer without overloading it.
Many accessories use 24 volt power, such as zoning systems, UV lights, alarms etc…
This common UV light uses 0.65 amps, if you connected to the existing transformer that would leave only 1.01 amps for the system controls.
It is generally a safer bet to either add in an additional accessories transformer or upsize the existing transformer to 60 or 75 VA.
When adding an additional transformer make sure it either has an internal fuse, or add a fuse inline to protect the transformer and connected devices.
— Bryan

Is that the actual formula
Would you still need to block off the bottom portion that hangs over with either sheet metal or duct board I’d say yes not sure if it’s already plated off ?