Fan control (Homekit) fan control in steps rather than percent?

Hi. Anyone knows if it could be possible to control a fan through home assistant - and the expose it to HomeKit, but so it works in steps - say like 1-2-3-4 instead of percent? I have currently hooked the Mqtt fan component to my vent system, but the fan on the system has 4 steps. It would be nice, if these steps could be controlled through homekit