소스 검색

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 달 전
부모
커밋
61db73ea17
1개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  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
         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