The Xiaomi Home Assistant is a cutting-edge smart home system that integrates seamlessly with various devices, including smart lighting. One of the key features of this system is its ability to control and customize lighting effects. However, some users have reported an issue with the lighting system, where the color temperature of the lights changes abruptly when turned on, rather than maintaining a consistent temperature. This article aims to explore this issue in depth and provide a comprehensive guide to using the Xiaomi Home Assistant for smart lighting. The Xiaomi Home Assistant app allows users to control their smart lighting devices remotely, adjusting settings such as color temperature and brightness. However, when using the app to turn on the lights, the color temperature changes immediately to the set value, without any gradual transition. This can be jarring and may not be desirable in all situations. In contrast, when using the Xiaomi Gateway plugin, the lighting effects are applied gradually, starting from the previous color temperature. This can result in a more gradual and natural transition. To reproduce this issue, simply use the Xiaomi Home Assistant app to turn on a smart lighting device, and observe the color temperature change. The expected behavior is for the lights to turn on with the set color temperature, without any abrupt changes. This issue is not limited to specific devices, but rather appears to be a systemic problem with the Xiaomi Home Assistant. The Home Assistant logs do not provide any additional information on this issue. The Shanghai timezone is used for logging purposes. The Home Assistant Core version is 2025, and the Operation System version is 15.0. The Xiaomi Home Integration version is 0.2.4. In terms of additional context, there is no further information available. To resolve this issue, it is recommended that users update their Xiaomi Home Assistant software to the latest version. Additionally, users can try using the Xiaomi Gateway plugin to achieve a more gradual transition in lighting effects. By following these steps and using the Xiaomi Home Assistant effectively, users can enjoy a more seamless and intuitive smart lighting experience.