The recent update of Xiaomi Home has caused all MiHome devices to create new entities, rendering previous entities obsolete. This has resulted in the need to delete, reorganize, and reclassify all entities in Apple Home. The issue occurred after updating to version 0.3.1 and restarting the system. The expected behavior is to be able to batch replace previous instances or clear invalid instances. The problem was reproduced on 2025-05-09 21:46:26. The Home Assistant logs are not available, and the log timezone is set to Shanghai. The Home Assistant Core version is 2025.5.0, and the Operation System version is 15.2. The Xiaomi Home Integration version is v0.3.1. To resolve this issue, it is essential to find a solution that allows for bulk updates and entity replacement. One possible approach is to develop a script that can automate the process of deleting, reorganizing, and reclassifying entities. Additionally, it may be necessary to modify the Xiaomi Home Integration to allow for more flexible entity management. Further investigation and testing are required to determine the root cause of the issue and develop a comprehensive solution.