def supported_features(self) -> LightEntityFeature:
        """Return the list of supported features."""
        supported_features = LightEntityFeature.TRANSITION
        if self._data_point.supports_effects:
            supported_features |= LightEntityFeature.EFFECT
        return supported_features
Return the list of supported features.
custom_components/homematicip_local/light.py