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

Moes TRV: dp 105 is temperature calibration, add boost switch

- boost_mode was referenced but not defined
- "fill_temp" apparently means temperature calibration, and range is -9 to 9

"BoostTime" has range 100 to 900 (seconds), but function is unclear, as the other
"rapid_countdown" with range 0 - 720 min seems to be the one that goes with switch_rapid,
so left this as an attribute for now.

Issue #1780
Jason Rumney 1 год назад
Родитель
Сommit
caead8a364
1 измененных файлов с 16 добавлено и 4 удалено
  1. 16 4
      custom_components/tuya_local/devices/moes_trv_thermostat.yaml

+ 16 - 4
custom_components/tuya_local/devices/moes_trv_thermostat.yaml

@@ -36,6 +36,10 @@ primary_entity:
       name: current_temperature
       mapping:
         - scale: 10
+    - id: 4
+      type: boolean
+      name: boost_mode
+      hidden: true
     - id: 7
       type: string
       optional: true
@@ -45,10 +49,6 @@ primary_entity:
           value: heating
         - dps_val: closed
           value: idle
-    - id: 105
-      type: integer
-      optional: true
-      name: fill_temp
     - id: 106
       type: boolean
       optional: true
@@ -175,6 +175,18 @@ secondary_entities:
         optional: true
         name: valve
         readonly: true
+  - entity: number
+    name: Temperature calibration
+    icon: "mdi: thermometer-check"
+    category: config
+    dps:
+      - id: 105
+        type: integer
+        name: value
+        unit: °
+        range:
+          min: -9
+          max: 9
   - entity: number
     name: Maximum temperature
     category: config