@property
def supported_features(self) -> int:
    'Return the list of features supported by the light.'
    if self.dev.is_dimmer:
        return SUPPORT_BRIGHTNESS
    if self.dev.is_color:
        return SUPPORT_EFFECT
    return 0
Return the list of features supported by the light.
@property
def supported_features(self) -> int:
    
    if self.dev.is_dimmer:
        return SUPPORT_BRIGHTNESS
    if self.dev.is_color:
        return SUPPORT_EFFECT
    return 0