nuheat/thermostat.py
def set_data(self, post_data):
        """
        Update (patch) the current instance's data on the NuHeat API
        """
        params = {
            "serialnumber": self.serial_number
        }
        self._session.request(config.THERMOSTAT_URL, method="POST", data=post_data, params=params)
def set_data(self, post_data):
        """
        Update (patch) the current instance's data on the NuHeat API
        """
        params = {
            "serialnumber": self.serial_number
        }
        self._session.request(config.THERMOSTAT_URL, method="POST", data=post_data, params=params)
def set_data ( self , post_data ) : params = { "serialnumber" : self . serial_number } self . _session . request ( config . THERMOSTAT_URL , method = "POST" , data = post_data , params = params )
Update (patch) the current instance's data on the NuHeat API
Update ( patch ) the current instance s data on the NuHeat API