Stuck with ir-protocol

FYI, there’s a great set of IR code for ESPHome at the following post: