'Call when a new value is added to this entity.'

def value_added(self):

    self._supported_features = SUPPORT_BRIGHTNESS
    if (self.values.dimming_duration is not None):
        self._supported_features |= SUPPORT_TRANSITION
