There we have it! We've created some relatively simple code that controls the operation of an air conditioner.