## Introduction
The Xiaomi Home Assistant is a revolutionary smart home system designed to seamlessly integrate various devices, including air conditioners. However, a recent issue has been reported where the scanning switch function of the air conditioner companion 2, with the device model "lumi.acpartner.mcn02", becomes dysfunctional after being controlled through the Mi Home app. This article delves into the issue, the steps to reproduce it, the expected behavior, and potential solutions.
## The Issue
The problem arises when the scanning switch is controlled through the Mi Home app. After this initial control, the scanning switch function in the Home Assistant (HA) becomes ineffective. This means that any subsequent attempts to change the scanning status through HA will not be reflected in the Mi Home app. The issue persists even after multiple attempts to alter the scanning status via HA.
## Steps to Reproduce
To reproduce the issue, follow these steps:
1. Ensure the HA can normally control the scanning status and that the Mi Home app can synchronize the status.
2. Change the scanning status once through the Mi Home app. At this point, HA should still be able to correctly synchronize the scanning status.
3. After step 2, attempt to change the scanning status through HA. You will find that the Mi Home app no longer updates the scanning status, indicating the loss of functionality.
## Expected Behavior
The expected behavior is that after changing the scanning status through the Mi Home app, HA should still be capable of controlling the scanning status. The synchronization between the two systems should remain intact, ensuring seamless control and monitoring of the device.
## Reproduce Time
The issue was first observed on September 9, 2025.
## Home Assistant Logs and Details
- **Home Assistant Core Version:** 2024.10.4
- **Home Assistant Operation System Version:** 13.0
- **Xiaomi Home Integration Version:** v0.3.2
- **Log Timezone:** Asia/Shanghai
The system logs were sent via email for further analysis.
## Conclusion
The dysfunctionality of the scanning switch after being controlled through the Mi Home app indicates a potential integration issue between the Xiaomi Home Assistant and the Mi Home app. It is essential to address this problem to ensure a smooth and consistent user experience. Further investigation and updates to the integration software may be necessary to resolve this issue and maintain the highest level of functionality and user satisfaction.