4
0
Эх сурвалжийг харах

New device Qlima D720. Works fine in my installation. (#3787)

* New devices. Works fine in my installation.

* fix (qlima_d720_dehumidifier): convert non-existant translation keys to names

- step does not belong under range
- merge current humidity into humidifier entity
- separate fan into own entity, as fan_speed is not supported in humidifier

PR #3787

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
Alexander Op het Veld 4 сар өмнө
parent
commit
5bbc156025

+ 103 - 0
custom_components/tuya_local/devices/qlima_d720_dehumidifier.yaml

@@ -0,0 +1,103 @@
+name: Dehumidifier
+products:
+  - id: dpks5tfgim6o3faw
+    manufacturer: Qlima
+    model: D720
+entities:
+  - entity: humidifier
+    class: dehumidifier
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: integer
+        name: humidity
+        range:
+          min: 35
+          max: 85
+        mapping:
+          - step: 5
+      - id: 5
+        type: string
+        name: mode
+        mapping:
+          - dps_val: "manual"
+            value: "normal"
+          - dps_val: "continuous"
+            value: "continuous"
+          - dps_val: "smart"
+            value: "auto"
+          - dps_val: "drying"
+            value: "dry"
+      - id: 6
+        type: integer
+        name: current_humidity
+  - entity: fan
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 4
+        type: string
+        name: speed
+        mapping:
+          - dps_val: "low"
+            value: 33
+          - dps_val: "mid"
+            value: 66
+          - dps_val: "high"
+            value: 100
+  - entity: sensor
+    class: temperature
+    category: diagnostic
+    dps:
+      - id: 7
+        type: integer
+        name: sensor
+        unit: "°C"
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 19
+        type: bitfield
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - value: true
+      - id: 19
+        type: bitfield
+        name: fault_code
+  - entity: binary_sensor
+    translation_key: tank_full
+    category: diagnostic
+    dps:
+      - id: 25
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: "off"
+            value: false
+          - dps_val: "on"
+            value: true
+  - entity: switch
+    name: Water pump
+    category: config
+    dps:
+      - id: 101
+        type: boolean
+        name: switch
+  - entity: number
+    class: volume_storage
+    name: Water capacity
+    category: config
+    dps:
+      - id: 102
+        type: integer
+        name: value
+        range:
+          min: 1
+          max: 4
+        unit: L