async def async_turn_on(self, **kwargs) -> None:
    'Turn the light on.'
    hs_color = kwargs.get(ATTR_HS_COLOR, self.hs_color)
    simple_rgb_color = _convert_color(hs_color)
    brightness = kwargs.get(ATTR_BRIGHTNESS, self.brightness)
    if (not kwargs):
        brightness = 255
    brightness = max(10, brightness)
    dim_level = (brightness / 255.0)
    transition = kwargs.get(ATTR_TRANSITION, 0.5)
    (await self._device.set_rgb_dim_level_with_time(channelIndex=self.channel, rgb=simple_rgb_color, dimLevel=dim_level, onTime=0, rampTime=transition))
Turn the light on.
async def async_turn_on(self, **kwargs) -> None:
    
    hs_color = kwargs.get(ATTR_HS_COLOR, self.hs_color)
    simple_rgb_color = _convert_color(hs_color)
    brightness = kwargs.get(ATTR_BRIGHTNESS, self.brightness)
    if (not kwargs):
        brightness = 255
    brightness = max(10, brightness)
    dim_level = (brightness / 255.0)
    transition = kwargs.get(ATTR_TRANSITION, 0.5)
    (await self._device.set_rgb_dim_level_with_time(channelIndex=self.channel, rgb=simple_rgb_color, dimLevel=dim_level, onTime=0, rampTime=transition))