Procházet zdrojové kódy

fix (earu_k6h3aw_thermostat): allow temperature to go to 95.0F

K6RH-3A goes to 95.0, while the original only goes to 90.0.
But the maximum temperature can be set separately, so we can expand this
range without causing any issue for the more limited model.

PR #3898
Jason Rumney před 3 měsíci
rodič
revize
61db73ea17

+ 11 - 1
custom_components/tuya_local/devices/earu_k6h3aw_thermostat.yaml

@@ -155,10 +155,20 @@ entities:
         unit: C
         range:
           min: 200
-          max: 900
+          max: 950
         mapping:
           - scale: 10
             step: 10
+            constraint: k6h
+            conditions:
+              - dps_val: null
+                range:
+                  min: 200
+                  max: 900
+      - id: 7
+        type: boolean
+        optional: true
+        name: k6h
   - entity: number
     name: Minimum temperature
     category: config