Skip to content

Commit f95c71c

Browse files
fix: xiaomi.derh.lite temperature precision (#1505)
* 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. * chore: sort dehumidifier entry
1 parent 7abc20d commit f95c71c

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
@@ -138,6 +138,12 @@ urn:miot-spec-v2:device:bath-heater:0000A028:xiaomi-s1:1:
138138
urn:miot-spec-v2:device:curtain:0000A00C:bjkcz-kczble:1:0000D031:
139139
prop.2.2:
140140
name: status-a
141+
urn:miot-spec-v2:device:dehumidifier:0000A02D:xiaomi-lite:1:
142+
prop.3.2:
143+
value-range:
144+
- -30
145+
- 100
146+
- 0.1
141147
urn:miot-spec-v2:device:electronic-valve:0000A0A7:sanmei-s1:1:
142148
prop.3.1:
143149
format: float

0 commit comments

Comments
 (0)