def setTransitionTime(self, time):
        if time < 0.0 or time > 30.0:
            raise ValueError(
                "Transition time must be between 0.0 and 30.0 seconds.")

        self._transitionTime = int(time * 10)
dataset/ETHPy150Open ManiacalLabs/BiblioPixel/bibliopixel/drivers/hue.py/DriverHue.setTransitionTime/original