more logging and timer to set waitForThermostat to false