pacorola пре 1 година
родитељ
комит
772e8c8724
1 измењених фајлова са 62 додато и 0 уклоњено
  1. 62 0
      custom_components/tuya_local/devices/heat_cold_thermostat_v2.yaml

+ 62 - 0
custom_components/tuya_local/devices/heat_cold_thermostat_v2.yaml

@@ -0,0 +1,62 @@
+name: Heat Cold thermostat v2
+entities:
+  - entity: climate
+    dps:
+      - id: 2
+        type: integer
+        name: temperature
+        unit: C
+        range:
+          min: 50
+          max: 350
+        mapping:
+          - step: 5
+            scale: 10
+      - id: 3
+        type: integer
+        name: current_temperature
+        mapping:
+          - scale: 10
+      - id: 1
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: true
+            constraint: cool_heat
+            conditions:
+              - dps_val: true
+                value: cool
+              - dps_val: false
+                value: heat
+          - dps_val: false
+            value: "off"
+      - id: 6
+        type: boolean
+        name: cool_heat
+        mapping:
+          - dps_val: true
+            value: cool
+          - dps_val: false
+            value: heat
+      - id: 14
+        type: string
+        name: hvac_action
+        mapping:
+          - dps_val: no_working
+            value: idle
+          - dps_val: working
+            constraint: cool_heat
+            conditions:
+              - dps_val: true
+                value: cooling
+              - dps_val: false
+                value: heating
+          - dps_val: window_opened
+            value: idle
+  - entity: lock
+    translation_key: child_lock
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock