Xiaomi Home Assistant Bug: Inconsistent Lighting Brightness
in Post with 0 comment

## Introduction
The Xiaomi Home Assistant is a smart home system designed to integrate and control various devices, including lighting. However, a recent bug has been discovered where the lighting brightness is inconsistent, particularly when setting the brightness to 2%.
## The Bug
When attempting to set the lighting brightness to 2%, the system only sets it to 1%. This issue is peculiar because other brightness values are set accurately. The problem was not present in previous versions, specifically 0.2.x, but has been encountered in the current version.
## Reproduction Steps
To reproduce the issue, simply attempt to set the lighting brightness to 2% using the Xiaomi Home Assistant.
## Expected Behavior
The expected behavior is that the lighting brightness should be set to 2% as specified by the user.
## Reproduce Time
The issue can be reproduced at any time, and it is not specific to a particular time of day or circumstance.
## Home Assistant Logs
Unfortunately, there are no available logs to provide further insight into the issue.
## Log Timezone
The timezone for the logs is set to Shanghai.
## Home Assistant Core Version
The Home Assistant Core version is 2025.
## Home Assistant Operation System Version
The Home Assistant Operation System version is 16.
## Xiaomi Home Integration Version
The Xiaomi Home Integration version is v0.3.1.
## Additional Context
There is no additional context available for this issue.
## Conclusion
In conclusion, the Xiaomi Home Assistant has a bug that affects the lighting brightness, specifically when setting it to 2%. The issue is reproducible and affects the current version of the software. It is essential to resolve this bug to ensure that the system functions as expected and provides a seamless user experience.

The article has been posted for too long and comments have been automatically closed.