This temperature and pressure relief valve (T&P) has the drain line reduced. The T&P drain line diameter must not be less than the diameter of the valve.
For safety, all pool equipment, lights and rebar are bonded using a copper wire attached to ground. You can see the bonding wire here that is not protecting the pump motor. The risk for a fatal injury exists here.
Here is a common defect that I find. Attic drop down stairs require fasteners in holes provided at the corner brackets and the hinge pivot plates. These fasteners must be 16d nails or 1/4x3 lag screws. Drywall or wood screws are not permitted.