Creating a fan using mqtt

Hi everyone,
I am going to create a fan using mqtt information from signal (like this) below

16:00:00.277 MQT: tele/tasmota_747524/RESULT = {"IrReceived":{"Protocol":"UNKNOWN","Bits":233,"Hash":"0x0281F340","Repeat":0}}
16:00:05.972 MQT: tele/tasmota_747524/RESULT = {"IrReceived":{"Protocol":"UNKNOWN","Bits":63,"Hash":"0x67B82648","Repeat":0}}
16:00:48.001 MQT: tele/tasmota_747524/RESULT = {"IrReceived":{"Protocol":"UNKNOWN","Bits":196,"Hash":"0x126774DB","Repeat":0}}
16:00:52.895 MQT: tele/tasmota_747524/RESULT = {"IrReceived":{"Protocol":"UNKNOWN","Bits":196,"Hash":"0x0DBDBCDB","Repeat":0}}

And I created a fan as below:

- platform: template
  fans:
    preset_mode_fan:
      friendly_name: "Preset Mode Fan Example"
      value_template: "{{ states('fan.percentage_fan') != 'off' }}"
      turn_off:
        service: mqtt.publish
        data:
          topic: "cmnd/tasmota_747524/IRSend"
          payload: '{"Protocol":"UNKNOWN","Bits":96,"Hash":"0x4D1AD837","Repeat":0}}'
      turn_on:
        service: mqtt.publish
        data:
          topic: "cmnd/tasmota_747524/IRSend"
          payload: '{"Protocol":"UNKNOWN","Bits":108,"Hash":"0x8C37AC7B","Repeat":0}}'
      percentage_template: "{{ state_attr('fan.preset_mode_fan', 'percentage') }}"
      speed_count: 5
      set_percentage:
        service: mqtt.publish
        data_template:
          topic: "cmnd/tasmota_747524/IRSend"
          payload: >
            {% if percentage == 100 %}
              '{"Protocol":"UNKNOWN","Bits":108,"Hash":"0x4CB2C291","Repeat":0}}'
            {% elif percentage == 80 %}
              '{"Protocol":"UNKNOWN","Bits":120,"Hash":"0x8C37AC7B","Repeat":0}}'
            {% elif percentage == 60 %}
              '{"Protocol":"UNKNOWN","Bits":108,"Hash":"0x231CFAB6","Repeat":0}}'
            {% elif percentage == 40 %}
              '{"Protocol":"UNKNOWN","Bits":96,"Hash":"0x4D1AD837","Repeat":0}}'
            {% elif percentage == 20 %}
              '{"Protocol":"UNKNOWN","Bits":96,"Hash":"0x4D1AD837","Repeat":0}}'
            {% else %}
              '{"Protocol":"UNKNOWN","Bits":108,"Hash":"0x231CFAB6","Repeat":0}}'
            {% endif %}

Home assisstant created a fan, I can turn it on/ off but seeming that nothing happen (no signal sent)
Can someone help me what’s wrong with the code?
Thank you

Here are some MQTT switches I have set up for use with the rfbridge using tasmota.
It may help or it may not.
Home-Assistant-Config/mqtt/switch/MQTT_switch_RF433.yaml at ad962bdd9b731204801939807063aac9cb346224 · SirGoodenough/Home-Assistant-Config · GitHub.

I am troubled (but have not played with Tasmota IR) that you are not putting into the payload everything that you see in the Tasmota log entries, IE the: