This simple automation and low-cost window sensor helped me fix a big air conditioning issue.
Indoor heat is particularly dangerous because it does not let up at night.