Skip to content

Commit bb08c66

Browse files
committed
fix: xiaomi.derh.lite temperature precision
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.
1 parent 7abc20d commit bb08c66

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

custom_components/xiaomi_home/miot/specs/spec_modify.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ua1a:2: urn:miot-spec-v2:dev
9292
urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ua1a:3:
9393
prop.3.5:
9494
expr: (src_value*6)
95+
urn:miot-spec-v2:device:dehumidifier:0000A02D:xiaomi-lite:1:
96+
prop.3.2:
97+
value-range:
98+
- -30
99+
- 100
100+
- 0.1
95101
urn:miot-spec-v2:device:airer:0000A00D:hyd-lyjpro:1:
96102
prop.2.3:
97103
name: current-position-a

0 commit comments

Comments
 (0)