SmartIR + Broadlink RM4 Pro + Fan not supported

I am trying to incorporate a ceiling fan that is not supported by SmartIR, I saw the fan control it with a Broadlink RM4 Pro and I would like to know if I could create a template within \config\custom_components\smartir\codes\fan which I will to name 1010 I have been reviewing other templates but I would not know how to adapt my fan since it has many functions such as turn on/off light, turn on/off fan, type of warm light, cold, timer of 2,4 and 8 hours, in addition to have 5 speeds and intensity regulation.

If anyone knows how I can perform or guide me, I would be very grateful