## Introduction
The Xiaomi Home Assistant has been experiencing a bug where the wireless switches (zigbee) are being triggered unintentionally when the integration is reloaded or when the network connection is reestablished. This has caused confusion and disruption to the user experience.
## Problem Description
The issue is observed when the user reloads the integration or when the network connection is lost and then reestablished. The single click, double click, and long press actions on the switches are being triggered abnormally, leading to unexpected behavior.
## Steps to Reproduce
1. Integrate the Xiaomi Home device with the Home Assistant.
2. Reload the integration.
## Expected Behavior
The expected behavior is that the switches should not be triggered unintentionally when the integration is reloaded or when the network connection is reestablished.
## Reproduce Time
The issue was first observed on 2025-08-15.
## Home Assistant Logs
Unfortunately, there are no logs available to provide more insight into the issue.
## Log Timezone
The timezone of the logs is set to Asia/Shanghai.
## Home Assistant Core Version
The version of the Home Assistant Core is 2025.8.1.
## Home Assistant Operation System Version
The version of the Home Assistant Operation System is 16.1.
## Xiaomi Home Integration Version
The version of the Xiaomi Home Integration is v0.4.1.
## Additional Context
There is no additional context available to provide more insight into the issue.
## Conclusion
The bug where the wireless switches are being triggered unintentionally when the integration is reloaded or when the network connection is reestablished needs to be fixed to improve the overall user experience. The issue has been observed on the Xiaomi Home Assistant with the specified versions of the Home Assistant Core, Operation System, and Xiaomi Home Integration.