@staticmethod
def __getSetDiscoModeForBridgeLampCmd(mode):
    """Give 'Set disco mode for bridge lamp' command

    Keyword arguments:
      mode -- (int) Disco mode between 1 and 9

    return: (bytearray) 'Set disco mode for bridge lamp' command
    """
    mode = int(mode)
    if mode < 1:
        mode = 1
    elif mode > 9:
        mode = 9
    mode &= 255
    return bytearray([49, 0, 0, 0, 4, mode, 0, 0, 0])
