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

Add Varminpool pool heat pump (#5252)

* Add Varminpool pool heater

* fix(varminpool): add cool hvac mode
Lee Baker 4 недель назад
Родитель
Сommit
b80e9179bf
1 измененных файлов с 96 добавлено и 0 удалено
  1. 96 0
      custom_components/tuya_local/devices/varminpool_pool_heater.yaml

+ 96 - 0
custom_components/tuya_local/devices/varminpool_pool_heater.yaml

@@ -0,0 +1,96 @@
+name: Pool heater
+products:
+  - id: bdfpdyaasa5k3jmo
+    manufacturer: Varminpool
+    model: GDR12140001
+entities:
+  - entity: climate
+    translation_key: pool_heatpump
+    dps:
+      - id: 1
+        type: boolean
+        name: hvac_mode
+        mapping:
+          - dps_val: false
+            value: "off"
+          - dps_val: true
+            constraint: mode
+            conditions:
+              - dps_val: cool
+                value: cool
+              - dps_val: hot
+                value: heat
+              - dps_val: auto
+                value: heat_cool
+      - id: 2
+        type: integer
+        name: temperature
+        range:
+          min: 5
+          max: 43
+        mapping:
+          - constraint: temperature_unit
+            conditions:
+              - dps_val: f
+                value_redirect: temp_set_f
+                range:
+                  min: 41
+                  max: 109
+      - id: 3
+        type: integer
+        name: current_temperature
+        optional: true
+        mapping:
+          - constraint: temperature_unit
+            conditions:
+              - dps_val: f
+                value_redirect: temp_current_f
+      - id: 4
+        type: string
+        name: mode
+        hidden: true
+      - id: 13
+        type: string
+        name: temperature_unit
+        mapping:
+          - dps_val: c
+            value: C
+          - dps_val: f
+            value: F
+      - id: 14
+        type: integer
+        name: temp_set_f
+        range:
+          min: 41
+          max: 109
+        hidden: true
+      - id: 15
+        type: integer
+        name: temp_current_f
+        hidden: true
+  - entity: select
+    translation_key: temperature_unit
+    category: config
+    dps:
+      - id: 13
+        type: string
+        name: option
+        mapping:
+          - dps_val: c
+            value: celsius
+          - dps_val: f
+            value: fahrenheit
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 21
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 21
+        type: bitfield
+        name: fault_code