In this case, the benefits are much more than the risk so you have to take this action. Oxygen content is the number one enemy. With increased aeration, fish may stand an even higher temperature. If your air pump is located in a compartment under your tank where all the lamp ballasts and heat generating devices are stored, you should remove the air pump to a cooler place or just leave the cabinet doors open. Decrease light .
Light is a form of energy.
As it is reflected on the tank canopy or absorbed by the water it finally becomes what else heat. There are two ways to reduce the heat generated by the lamps. If you do, you should only plug the absolutely minimal number of filters and the air pump. Never add heaters, chillers or other energy consuming devices as this will drain the battery in no time. A 1200 W UPS can keep my two filters and the air pump going for at least 3 hours while it will fully recharge in less than 5 minutes.