Faking an IR remote control using ESPHome

Hi! What pins did you use for this? I tried with one pin to ground and one to the signal pin (I chose 23 on my ESP32 devkit V1) on a similar emitter, and i mostly got this:

10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 0006 0000 0001 0000 0001 0000 0001 0000 0001 0000 0002 0000 0167 06C3
10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 000A 0000 0001 9D89 0001 0000 0001 0000 0002 0000 0001 0000 0001 0000 0001 9D89 0001 9D89 0161 9D89 0001 06C3
10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 0009 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 9D89 015D 0000 0001 06C3
10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 0015 0000 0001 0001 0001 9D89 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0001 0001 0000 0001 0000 0001 0000 0002 9D89 0001 9D89 0001 9D89 0116 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 06C3
10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 0008 0000 0001 0001 0001 0000 0001 0000 00A0 9D89 0001 9D89 0001 9D89 0001 9D89 0001 06C3
10:08:59	[D]	[remote.pronto:238]	
Received Pronto: data=0000 006D 0021 0000 0001 0000 0001 0001 0064 9D89 0001 0000 0001 0000 0001 9D89 0001 0000 0025 9D89 0002 0000 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 0000 0001 9D89 0001 9D89 0001 9D89
10:08:59	[D]	[remote.pronto:240]	
0001 9D89 0002 9D89 0001 9D89 0001 9D89 0001 9D89 0001 9D89 0001 0000 0001 0001 0001 0001 0001 9D89 0001 0001 0001 06C3

I tried to reverse the ground and signal leads, but that didn’t change anything. I am reluctant to connect it to 5V power in case that will burn up anything, at least until I know that’s the way to do it.