def supported_features(self) -> ClimateEntityFeature:
        """Return the list of supported features."""
        supported_features = (
            ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.TURN_OFF | ClimateEntityFeature.TURN_ON
        )
        if self._data_point.supports_profiles:
            supported_features |= ClimateEntityFeature.PRESET_MODE
        return supported_features
Return the list of supported features.
custom_components/homematicip_local/climate.py