The House doesn't have to be cool if you aren't home...
“On warm days, setting a programmable thermostat to a higher setting when you are not at home can help reduce your energy costs by approximately 10 percent.”
https://www.energy.gov/articles/10-energy-saving-tips-spring