platform: rpi_gpio
ports:
18: RPI Cooling Fan
Also the Raspberry Gpio installed .
I did some measurements but I can’t find which pin controls the fan.
I hope someone can help me, thanks in advance
That is quite an old post so I am not surprised that does not work. rpi_gpio there is likely the stuff that was removed from core.
I am thinking that there is now one or more custom integrations to help with those functions available on GitHub thru HACS. You would have to search for them using HACS, I don’t not personally use a PI and do not know for certain.