ERROR: Using raw pin numbers is ambiguous

Thanks Tom, I know you’re trying to be helpful …

I am no electronics engineer or unix GOD. Just trying to go from Blakadders table of GPIO01 = Button 1, GPIO13 = Relay 1, GPIO14 = Led 1 to an ESPHome yaml configuration.

Telling me that PWM2 (whatever that is) in Pin 2 is connected to P8 pin is actually more confusing.

Interface pin definition

Pin No.  Symbol  I/O type  Function
1         VBAT   P         Power supply pin (3.3 V), which is connected to the VBAT pin on the internal IC
2         PWM2   I/O       Common GPIO, which is connected to the P8 pin on the internal IC

Is there any tutorial showing how to connect up these dots ?