:param mode: a string one of self.modes()
        :return: nothing

def set_operation_mode(self, mode):
        """
        :param mode: a string one of self.modes()
        :return: nothing
        """
        if mode == "off":
            desired_state = {"powered": False}
        else:
            desired_state = {"powered": True, "mode": mode}

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

        self._update_state_from_response(response)