The sensor serial number was not included in the GetDeviceInfo for individual sensors. Added for consistency as well as required for support of the SetTargetTemperatureSensor function. This new function accepts the serial of the device that you're asking Nest to utilize as the target temperature.
Example Usages:
//Set the sensor in the master bedroom of the default thermostat
$this->setTargetTemperatureSensor("{master bedroom sensor serial number}");
//Set the sensor in the master bedroom of a specific thermostat
$this->setTargetTemperatureSensor("{master bedroom sensor serial number}", "{thermostat serial number}");
//Set the thermostat itself to be the sensor
$this->setTargetTemperatureSensor("{thermostat serial number}");
//Alternatively
$this->setTargetTemperatureSensor("{thermostat serial number}", "{thermostat serial number}");
The sensor serial number was not included in the GetDeviceInfo for individual sensors. Added for consistency as well as required for support of the SetTargetTemperatureSensor function. This new function accepts the serial of the device that you're asking Nest to utilize as the target temperature.
Example Usages: