@classmethod
def quickmode(cls, quick_mode: str, duration: int=None):
    """
        Payload to set quick mode for the system.
        Duration is mandatory (Duration is in minutes, max 1440 =24 hours)
        """
    payload = {'quickmode': {'quickmode': quick_mode}}
    if duration:
        payload['quickmode']['duration'] = duration
    return payload
