Adding pool heater to bonding of pump, salt generator, and timer
You definitely need to hook up the bonding wire to that bonding lug. Right now it is hooked up to the earth ground, which is incorrect. Earth ground is to keep the pool equipment at earth potential, bonding is to keep all the pool equipment at the same potential. Run a bare #8 copper wire from the bonding lug on the pool heater to the bonding wire, and connect it using a split-bolt connector