Virtual Thermostat Example Code Does Not Match Built-In

Could it be related to this.