The Xiaomi Home Assistant is a popular smart home system that integrates various devices, including the MiJia app. However, some users have reported issues with automation, particularly when using the MiJia app to control devices. This article will explore the problem, provide steps to reproduce it, and discuss potential solutions. The issue arises when a user configures automation in the Xiaomi Home Assistant to execute certain actions when the microphone is enabled or disabled on the XiaoAi speaker. While this works seamlessly through the xiaomi_home control, it fails to execute when the MiJia app is used to toggle the microphone. It appears that the MiJia app does not send the necessary signals to the cloud, resulting in the automation not being triggered. To reproduce this issue, users can follow these steps: 1. Configure automation in the Xiaomi Home Assistant to execute a specific action when the microphone is enabled or disabled on the XiaoAi speaker. 2. Use the xiaomi_home control to toggle the microphone and verify that the automation executes correctly. 3. Use the MiJia app to toggle the microphone and observe that the automation does not execute. The expected behavior is for the automation to execute correctly, regardless of whether the xiaomi_home control or MiJia app is used. To resolve this issue, users can try updating their Xiaomi Home Integration to the latest version, currently 0.31. Additionally, checking the Home Assistant logs and system configuration may provide further insight into the problem. By understanding the root cause of this issue and exploring potential solutions, users can enjoy seamless automation and control of their smart home devices using both the xiaomi_home control and MiJia app.