Careful With That 40VA Transformer
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…
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.