Skip to content

fix: xiaomi.derh.lite temperature precision - #1505

Merged
SusanPhevos merged 2 commits into
XiaoMi:mainfrom
quintstoffers:fix/dehumidifier-temperature-precision
Nov 17, 2025
Merged

fix: xiaomi.derh.lite temperature precision#1505
SusanPhevos merged 2 commits into
XiaoMi:mainfrom
quintstoffers:fix/dehumidifier-temperature-precision

Conversation

@quintstoffers

Copy link
Copy Markdown
Contributor

Add value-range step of 0.1 for dehumidifier temperature property to preserve decimal precision.

The xiaomi.derh.lite dehumidifier was reporting temperature as integer instead of float due to the default value-range step of 1. This fix changes the step to 0.1 to allow one decimal place precision (e.g., 22.5°C instead of 23°C).

Similar to the fix for cgllc.airm.cgd1st air monitor in commit 580ff87.

Add value-range step of 0.1 for dehumidifier temperature property to preserve decimal precision.

The xiaomi.derh.lite dehumidifier was reporting temperature as integer instead of float due to the default value-range step of 1. This fix changes the step to 0.1 to allow one decimal place precision (e.g., 22.5°C instead of 23°C).

Similar to the fix for cgllc.airm.cgd1st air monitor in commit 580ff87.
@CLAassistant

CLAassistant commented Nov 14, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@SusanPhevos
SusanPhevos merged commit f95c71c into XiaoMi:main Nov 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants