I was lost on the 24 V transformer (and this looks just like mine, Home Depot special!)
The electrician at HD told me to think exactly as you described. One terminal as hot, the other as neutral:
Post marked 16V (hot)_______TH terminal
Transformer...