Bläddra i källkod

fix (hysen_hy08we2_thermostat): scale calibration properly

Issue #4457, supported by inconsistencies in the info on #104
Jason Rumney 1 vecka sedan
förälder
incheckning
0d85278af4
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml

+ 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