esphome-based ir blaster for my sony tv
Uses the transistor-based wiring for the LED as seen on e.g. https://learn.adafruit.com/internet-of-things-infrared-remote/wiring, with an additional 10ohm resistor in the plus line to the LED, just to be on the safe side.
How to convert sony IR protocol commands back and forth from the various formats used around the web: https://community.home-assistant.io/t/confusion-around-sony-infrared-codes-sirc/699878/2