Przeglądaj źródła

fix (hysen_hy08we2_thermostat): scale calibration properly

Issue #4457, supported by inconsistencies in the info on #104
Jason Rumney 1 tydzień temu
rodzic
commit
0d85278af4

+ 4 - 2
custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml

@@ -150,8 +150,10 @@ entities:
         name: value
         unit: °
         range:
-          min: -9
-          max: 9
+          min: -90
+          max: 90
+        mapping:
+          - scale: 10
   - entity: number
     name: Calibration swing internal
     category: config