XKC-Y25-PNP Non-Contact Liquid Capacitive Level Sensor

There is already a part here:

so it is usually better to do a google search first to avoid duplicating effort (unless you are learning part creation and want to recreate an existing part as an exersize.) A search of the form:

fritzing part xkc-y25

is what I usually use. That said, the fzp file above is only one of the 3 or 4 files required for a part (typically in a .fzpz file, which is a zip file with the .fzp and 3 or 4 svg files.) Without the associated svgs this part won’t load in Fritzing. The necessary format for the fzpz file is contained in this howto:

Peter