Răsfoiți Sursa

Hellnar: revert temperature swap.

As reported on issue #29, the original order seems to have been correct.
Jason Rumney 4 ani în urmă
părinte
comite
a0870208b2
1 a modificat fișierele cu 5 adăugiri și 4 ștergeri
  1. 5 4
      custom_components/tuya_local/devices/hellnar_heatpump.yaml

+ 5 - 4
custom_components/tuya_local/devices/hellnar_heatpump.yaml

@@ -12,13 +12,10 @@ primary_entity:
           icon_priority: 1
           icon_priority: 1
       hidden: true
       hidden: true
     - id: 2
     - id: 2
-      name: current_temperature
+      name: temperature
       type: integer
       type: integer
       mapping:
       mapping:
         - scale: 10
         - scale: 10
-    - id: 3
-      name: temperature
-      type: integer
       constraint: hvac_mode
       constraint: hvac_mode
       conditions:
       conditions:
         - dps_val: cold
         - dps_val: cold
@@ -28,6 +25,7 @@ primary_entity:
         - dps_val: auto
         - dps_val: auto
           range:
           range:
             min: 17
             min: 17
+            max: 30
         - dps_val: hot
         - dps_val: hot
           range:
           range:
             min: 0
             min: 0
@@ -36,6 +34,9 @@ primary_entity:
           invalid: true
           invalid: true
         - dps_val: wind
         - dps_val: wind
           invalid: true
           invalid: true
+    - id: 3
+      name: current_temperature
+      type: integer
     - id: 4
     - id: 4
       name: hvac_mode
       name: hvac_mode
       type: string
       type: string