Update thermostat.py