Assistance changing how entities are detected custom config

Hey I’m new to home assistant and haven’t toyed with config.yaml

I have a Tuya based fan called Skyfan DC. It has various options which include:

Speed - Slider
Direction - button
Mode: sleep, eco, normal - drop down

I want to know how to convert the modes from individual switches in HomeKit hub to a drop down, similar to how it looks in HA. Also if there’s a way to include the timer function which also exists, would be great but I’d love some assistance starting here.

I tried the following code below for a separate entity to convert a switch to a valve in HomeKit, but am pretty sure I haven’t associated to the correct hub or anything like that, note the hub this B-HYVE is connected to is named HASS Bridge 8S:21081_Garden