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

addon Battery frost_protection scale_protection local_temperature_calibration Issue #2457

ciscolyon69 1 год назад
Родитель
Сommit
76b40d7f87
1 измененных файлов с 50 добавлено и 0 удалено
  1. 50 0
      custom_components/tuya_local/devices/avatto_trv06_radiatorvalve.yaml

+ 50 - 0
custom_components/tuya_local/devices/avatto_trv06_radiatorvalve.yaml

@@ -52,3 +52,53 @@ secondary_entities:
         type: boolean
         optional: true
         name: lock
+  - entity: binary_sensor
+    class: battery
+    category: diagnostic
+    dps:
+      - id: 35
+        type: bitfield
+        name: sensor
+        class: measurement
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+  - entity: switch
+    translation_key: anti_frost
+    category: config
+    dps:
+      - id: 36
+        type: boolean
+        name: switch
+        optional: true
+        mapping:
+          - dps_val: null
+            value: false
+            hidden: true
+  - entity: switch
+    name: Antiscale
+    category: config
+    icon: "mdi:shimmer"
+    dps:
+      - id: 39
+        type: boolean
+        name: switch
+        optional: true
+        mapping:
+          - dps_val: null
+            value: false
+            hidden: true
+  - entity: number
+    name: Temperature calibration
+    category: config
+    icon: "mdi:thermometer-check"
+    dps:
+      - id: 47
+        type: integer
+        optional: true
+        name: value
+        unit: C
+        range:
+          min: -9
+          max: 9