## Introduction to Xiaomi Home Assistant
The Xiaomi Home Assistant is a smart home system that integrates various Xiaomi devices, including the Air Purifier 4 Pro. However, some users have reported an issue where the air purifier automatically turns on after restarting or reconfiguring the Xiaomi Home plugin.
## Problem Description
The problem occurs when the user restarts or reconfigures the Xiaomi Home plugin, causing the Air Purifier 4 Pro to turn on automatically. This issue is not only limited to restarts or reconfigurations but also happens randomly at times.
## Steps to Reproduce
To reproduce this issue, simply restart the Home Assistant or reconfigure the Xiaomi Home plugin. The Air Purifier 4 Pro should automatically turn on. This problem has been observed on Home Assistant Core version 2024.11.0 and Xiaomi Home Integration version V0.1.3.
## Expected Behavior
The expected behavior is that the air purifier should not turn on automatically after restarting or reconfiguring the plugin. Instead, it should remain in its previous state or require manual intervention to turn on.
## Reproduce Time
This issue was first observed on 2024-12-29 at 05:20.
## Home Assistant Logs
Unfortunately, there are no available logs to provide more insights into this issue.
## Log Timezone
The timezone for the logs is set to Shanghai.
## Home Assistant Core Version
The Home Assistant Core version is 2024.11.0.
## Home Assistant Operation System Version
The Home Assistant Operation System version is 13.0.
## Xiaomi Home Integration Version
The Xiaomi Home Integration version is V0.1.3.
## Additional Context
There is no additional context or information available regarding this issue.
## Solution
To resolve this issue, it is recommended to update the Xiaomi Home Integration to the latest version and ensure that the Home Assistant Core and Operation System are also up-to-date. Additionally, checking the device settings and configurations may help identify and fix the problem. If the issue persists, reaching out to the Xiaomi support team or the Home Assistant community may provide further assistance.
## Conclusion
In conclusion, the automatic turn-on of the Air Purifier 4 Pro after restarting or reconfiguring the Xiaomi Home plugin is an issue that needs to be addressed. By following the steps outlined above and seeking help from the community or support team, users can resolve this problem and enjoy a seamless smart home experience with their Xiaomi devices.