Xiaomi Home Assistant Bug: Incorrect Fan Switch Control and Missing Light Switch
in Post with 0 comment

## Introduction
The Xiaomi Home Assistant is a smart home system that allows users to control their devices remotely. However, a bug has been reported where the fan switch control is incorrect and the light switch is missing. This article will describe the bug, the steps to reproduce it, and the expected behavior.
## Describe the Bug
The bug is related to the virtual device '風扇燈' (fan light) in the Xiaomi Home Assistant. The device has four control options: total switch, light switch, fan switch, and wind speed adjustment. However, in the Home Assistant, the fan switch control is incorrect and controls the light switch instead. The wind speed adjustment is also incorrect and only has two options.
## How to Reproduce
To reproduce the bug, follow these steps:
1. Open the Xiaomi Home Assistant app and navigate to the device control page.
2. Select the '風扇燈' (fan light) device.
3. Observe the control options available.
4. Notice that the fan switch control is incorrect and controls the light switch instead.
5. Notice that the wind speed adjustment is also incorrect and only has two options.
## Expected Behavior
The expected behavior is that the fan switch control should correctly control the fan switch, and the light switch should be available as a separate control option. Additionally, the wind speed adjustment should have more options.
## Conclusion
In conclusion, the Xiaomi Home Assistant bug is a significant issue that needs to be addressed. The incorrect fan switch control and missing light switch can cause inconvenience to users. It is recommended that the developers of the Xiaomi Home Assistant fix this bug as soon as possible to provide a better user experience.

The article has been posted for too long and comments have been automatically closed.