The Xiaomi Home Assistant is experiencing a frustrating issue with its Bluetooth wireless switch, where certain events are lost with a probability. This problem can be reproduced by triggering multiple button press events, which are normally displayed in the Mi Home log, but are partially missing in the Home Assistant event section. The expected behavior is that no events should be lost. This issue can be replicated at any time and is not limited to a specific time frame. The Home Assistant logs do not provide any response, and the log timezone is set to Asia/Shanghai. The Home Assistant Core version is 2024.12.5, and the Home Assistant Operation System version is 13.2.1. The Xiaomi Home Integration version is v0.1.3. To resolve this issue, it is essential to investigate the cause of the event loss and implement a solution to prevent it. This may involve updating the Xiaomi Home Integration version or modifying the Home Assistant configuration. Further research and analysis are necessary to determine the root cause of the problem and develop an effective fix. The Xiaomi Home Assistant is a popular smart home system, and addressing this issue is crucial to ensuring a seamless and reliable user experience.