def set_privacy(self, state):
        """
        :param state: True or False
        :return: nothing
        """
        values = {"desired_state": {"private": state}}
        response = self.api_interface.set_device_state(self, values)
        self._update_state_from_response(response)