You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When controlling my fan via the integration, setting fan_level (or fan percentage) to any value above 4 (e.g. 100%) only results in level 4 being applied in the MiHome app.
This issue seems to affect devices like zhimi.fan.v3 or dmaker.fan.p5.
It appears that the integration might be incorrectly mapping percentage values to discrete fan levels supported by the device.
How to Reproduce / 复现步骤
1. Set fan level to 100% via the integration (e.g. Home Assistant, or any direct API call).
2. Open MiHome app.
3. Observe that the fan level is shown as 4, not 100% or a higher level.
Expected Behavior / 预期结果
Setting fan level to 100% should map to the maximum fan level supported by the device (not arbitrarily capped at level 4).
Reproduce Time / 问题复现的时间点
2025-05-03
Home Assistant Logs / 系统日志
No response
Log Timezone / 日志时区
Asia
Home Assistant Core Version / Home Assistant Core 版本
All software is up to date
Home Assistant Operation System Version / Home Assistant Operation System 版本
All software is up to date
Xiaomi Home Integration Version / 米家集成版本
All software is up to date
Additional Context / 其他说明
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug / 描述问题
When controlling my fan via the integration, setting fan_level (or fan percentage) to any value above 4 (e.g. 100%) only results in level 4 being applied in the MiHome app.
This issue seems to affect devices like zhimi.fan.v3 or dmaker.fan.p5.
It appears that the integration might be incorrectly mapping percentage values to discrete fan levels supported by the device.
How to Reproduce / 复现步骤
Expected Behavior / 预期结果
Setting fan level to 100% should map to the maximum fan level supported by the device (not arbitrarily capped at level 4).
Reproduce Time / 问题复现的时间点
2025-05-03
Home Assistant Logs / 系统日志
No response
Log Timezone / 日志时区
Asia
Home Assistant Core Version / Home Assistant Core 版本
All software is up to date
Home Assistant Operation System Version / Home Assistant Operation System 版本
All software is up to date
Xiaomi Home Integration Version / 米家集成版本
All software is up to date
Additional Context / 其他说明
No response
The text was updated successfully, but these errors were encountered: