def set_temperature(self, max_set_point=None):
        """
        :param max_set_point: a float for the max set point value in celsius
        :return: nothing
        """
        desired_state = {}

        if max_set_point:
            desired_state['max_set_point'] = max_set_point

        response = self.api_interface.set_device_state(self, {
            "desired_state": desired_state
        })

        self._update_state_from_response(response)