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