Tasmota Fan configuration, no speed options

I am really confused on how to configure my fan right now.

I have a Lucci Connect Remote: https://templates.blakadder.com/luci-connect-remote-control.html
and with it configured to Tasmota detection, HA detects it as a fan, but I have not options to change the speed, only a switch to turn it on and off.

Adding the configuration as set out in the above link doesn’t work and I have tried using the Developer Tools as per https://www.home-assistant.io/integrations/fan/ but nothing happens on my fan.

My fan supports 3 speeds and use to work perfectly with MQTT.

A bit lost as to where to start, I appreciate that HA has changed Fans alot over the last year or so, but I have absolutely no idea on where to start to get my fan configured so I can set the speed of it.

Thanks

With all the updates to Fans, I am still no closer to getting speeds for my fans, any ideas?

I was finally able to figure it out using this page: Martin Jerry Fan Speed Controller US-FC-01 | digiblurDIY

My old configuration worked, i just had to get the top bit right, this is what my configuration looks like now:

mqtt:
  fan:
    -   name: "Main Ceiling Fan"
        state_topic: "stat/main_cf/POWER1"
        command_topic: "cmnd/main_cf/POWER1"
        payload_on: "ON"
        payload_off: "OFF"
        availability_topic: "tele/main_cf/LWT"
        payload_available: "Online"
        payload_not_available: "Offline"
        preset_mode_state_topic: "stat/main_cf/speed"
        preset_mode_value_template: >
            {%- if value == '2,0' %}low
            {%- elif value == '2,1' %}medium
            {%- elif value == '2,2' %}high
            {%- endif -%}
        preset_mode_command_topic: "cmnd/main_cf/TuyaSend4"
        preset_mode_command_template: >
            {%- if value == "low" %}2,0
            {%- elif value == "medium" %}2,1
            {%- elif value == "high" %}2,2
            {%- endif -%}
        qos: 0
        preset_modes:
            - "low"
            - "medium"
            - "high"