The Xiaomi Home Assistant is a popular smart home system that integrates various devices, including fans. However, some users have reported an issue with controlling their fans via the integration, where setting the fan level to a value above 4 results in the fan being set to level 4 instead of the desired level. This issue affects devices such as the zhimi.fan.v3 and dmaker.fan.p5. To reproduce this issue, simply set the fan level to 100% via the integration, open the MiHome app, and observe that the fan level is shown as 4. The expected behavior is that setting the fan level to 100% should map to the maximum fan level supported by the device, not be capped at level 4. This issue was first reported on 2025-05-03. The Home Assistant logs and additional context are not available. The Home Assistant core version, operation system version, and Xiaomi Home integration version are all up to date. This article will provide a solution to this issue and explore the possibilities of using the Xiaomi Home Assistant for fan control.