iFan04 4 Speed

Looking to use the light relay for a 4 speed setup. Manipulating the relay contacts, adding and changing capacitors I can get worked out. Seems like Esphome may be the way to go on this one. Anybody have any thoughts on what it would take to modify the existing code to get the light relay working properly.