The current implementation of fan control in Home Assistant for Xiaomi devices has limitations. It can only be set to specific percentages (0, 25, 50, 75, 100) and often results in bugs, causing the fan speed to jump erratically. This issue is reproducible when trying to control the fan speed through the Home Assistant entity. The expected behavior is to achieve precise control over the fan speed, similar to the experience in the Xiaomi app. Unfortunately, the current version of the Xiaomi Home Integration (v0.2.0) and Home Assistant Core (2025.01) do not support this level of control. To resolve this issue, it is essential to update the integration to allow for more precise control over the fan speed, ensuring a smoother user experience. The lack of detailed logs and additional context makes it challenging to identify the root cause of the problem. However, by focusing on enhancing the fan control functionality, users can expect a more seamless interaction with their Xiaomi devices through Home Assistant.