Rule Machine Thermostat rule help please

Ok. I think I have all of the bugs worked out. Go ahead and install the app from git hub. You can either do it through smartThings or paste the code from here: