## Introduction to Xiaomi Home Assistant
The Xiaomi Home Assistant is a smart home system that integrates various devices to provide a convenient and automated living experience. One of the devices compatible with this system is the 米家智能直流变频落地扇1X, a smart floor fan with advanced features like automatic swing. However, some users have reported an issue where the automatic swing function is not working as expected.
## Describing the Issue
The problem is characterized by the absence of an automatic swing feature on the 米家智能直流变频落地扇1X. Despite setting the swing angle on the mobile app, the fan does not automatically swing, and there's no corresponding option for this feature in the physical device settings. Furthermore, when the "自动左右扫风" (automatic swing) option is selected on the Xiaomi app, there's no log entry in the Home Assistant (HA) system to indicate the action.
## Reproducing the Issue
To reproduce this issue, follow these steps:
1. Ensure your 米家智能直流变频落地扇1X is properly connected to your Xiaomi Home Assistant system.
2. Open the Xiaomi Home app and navigate to the device settings for your fan.
3. Attempt to enable the automatic swing feature.
4. Observe the fan's behavior and check the HA logs for any entries related to the swing command.
An image illustrating the steps can be found [here](https://github.com/user-attachments/assets/deedda6e-6d06-4121-b687-bb386bb0ed98).
## Expected Behavior
Ideally, when the automatic swing feature is enabled, the fan should start swinging automatically, and this action should be logged in the HA system.
## Reproduce Time
This issue was observed on 2025-03-08 at 20:13:00.
## Home Assistant Logs
Unfortunately, there are no log entries available for this specific issue.
## Log Timezone
The timezone for the logs is set to Asia/Shanghai.
## Home Assistant Core Version
The version of Home Assistant Core in use is 2025.3.1.
## Home Assistant Operation System Version
The Home Assistant Operation System is version 14.2.
## Xiaomi Home Integration Version
The Xiaomi Home integration version is v0.2.1.
## Additional Context
At this time, there's no additional context or information available regarding this issue.
## Conclusion
The absence of an automatic swing feature on the 米家智能直流变频落地扇1X when integrated with the Xiaomi Home Assistant is a notable issue that affects the user experience. By following the steps to reproduce this problem and understanding the expected behavior, users and developers can work together to resolve this issue and enhance the functionality of the Xiaomi Home Assistant system. Further investigation and debugging are necessary to pinpoint the cause of this problem and implement a solution that enables the automatic swing feature as intended.