def set_data(self, post_data):
params = {<EOL>"<STR_LIT>": self.serial_number<EOL>}<EOL>self._session.request(config.THERMOSTAT_URL, method="<STR_LIT:POST>", data=post_data, params=params)<EOL>
Update (patch) the current instance's data on the NuHeat API