This simple automation and low-cost window sensor helped me fix a big air conditioning issue.
Air conditioners can explode when excessive heat and pressure build up inside the system beyond safe operating limits.