@staticmethod
def __getSetTemperatureCmd(temperature):
    """Give 'Set temperature' command

    Keyword arguments:
      temperature -- (int) Temperature percentage between 0 and 100
                           0% <=> Warm white (2700K)
                           100% <=> Cool white (6500K)

    return: (bytearray) 'Set temperature' command
    """
    temperature = int(temperature)
    if temperature < 0:
        temperature = 0
    elif temperature > 100:
        temperature = 100
    temperature &= 255
    return bytearray([49, 0, 0, 8, 5, temperature, 0, 0, 0])
