Просмотр исходного кода

Hellnar: revert temperature swap.

As reported on issue #29, the original order seems to have been correct.
Jason Rumney 4 лет назад
Родитель
Сommit
a0870208b2
1 измененных файлов с 5 добавлено и 4 удалено
  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
       hidden: true
     - id: 2
-      name: current_temperature
+      name: temperature
       type: integer
       mapping:
         - scale: 10
-    - id: 3
-      name: temperature
-      type: integer
       constraint: hvac_mode
       conditions:
         - dps_val: cold
@@ -28,6 +25,7 @@ primary_entity:
         - dps_val: auto
           range:
             min: 17
+            max: 30
         - dps_val: hot
           range:
             min: 0
@@ -36,6 +34,9 @@ primary_entity:
           invalid: true
         - dps_val: wind
           invalid: true
+    - id: 3
+      name: current_temperature
+      type: integer
     - id: 4
       name: hvac_mode
       type: string