Fan Speed Not Showing

I have added my smart ceiling fan. On my phone the speed can be controlled. On home assistant when clicking on the ceiling fan is just shows an on and off lightning button, when clicked nothing happenes. There is also no option to control the fan speed. How would i get this to work?