The Xiaomi Home Assistant device, mrbond.airer.m1t, has been experiencing an issue where the device switch would stop functioning when the device is in the process of opening or closing. However, the 'opening' state could be detected, while the 'closing' state could not. This was due to a lack of device status. To resolve this issue, the 'closing' state needs to be added to the device states. The expected behavior is that the device should be able to detect both 'opening' and 'closing' states. The issue was reproduced on 2025-05-01 at 9:20:00, and the system logs were not available. The Home Assistant Core version is 2025.4.4, the Home Assistant Operation System version is 15.2, and the Xiaomi Home Integration version is v0.3.1. To fix this issue, the device states need to be updated to include the 'closing' state, allowing the device to properly detect and respond to the device switch.