Browse Source

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 6 months ago
parent
commit
61db73ea17
1 changed files with 11 additions and 1 deletions
  1. 11 1
      custom_components/tuya_local/devices/earu_k6h3aw_thermostat.yaml

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

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