Adding thermostat logic, updating gitignore