Browse Source

Add support for ElectriQ PD45E dehumidifier

Issue #514
Jason Rumney 3 years ago
parent
commit
30570d7287

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -214,3 +214,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [demonkazuya](https://github.com/demonkazuya) for assisting with support for Smartrul smart wallplugs (dual_power_monitor_smartplugv2)
 - [runlar](https://github.com/runlar) for assisting with support for Deltaco SH-P02E smartplugs (dual_power_monitoring_smartplugv2 without some optional features)
 - [Kannix2005](https://github.com/Kannix2005) for assisting with support for Etersky aroma diffusers.
+- [Daverover66](https://github.com/Daverover66) for assisting with support for ElectriQ PD45E dehumidifiers.

+ 1 - 0
DEVICES.md

@@ -137,6 +137,7 @@
 - ElectriQ CD20PRO-LE-V2 dehumidifier
 - ElectriQ CD25PRO-LE-V2 dehumidifier
 - ElectriQ DESD9LW dehumidifier
+- Electriq PD45E dehumidifier
 - Eeese Adam dehumidifier
 - Eeese Carl dehumidifier
 - Eeese Otto dehumidifier

+ 90 - 0
custom_components/tuya_local/devices/electriq_pd45e_dehumidifier.yaml

@@ -0,0 +1,90 @@
+name: Electriq PD45E dehumidifier
+products:
+  - id: 75174020a4e57c1945ca
+primary_entity:
+  entity: humidifier
+  class: dehumidifier
+  dps:
+    - id: 1
+      name: switch
+      type: boolean
+    - id: 2
+      type: string
+      name: mode
+      mapping:
+        - dps_val: "1"
+          value: Dehumidify
+        - dps_val: "2"
+          value: Fan only
+        - dps_val: "3"
+          value: Dry laundry
+    - id: 4
+      name: humidity
+      type: integer
+      range:
+        min: 35
+        max: 80
+      mapping:
+        - step: 5
+    - id: 11
+      type: integer
+      name: unknown_11
+      # Probably one of these integers is timer, the other fault_code
+    - id: 106
+      type: integer
+      name: unknown_106
+    - id: 107
+      type: boolean
+      name: unknown_107
+      # Probably one of these booleans is defrost indicator, the other may be tank?
+    - id: 108
+      type: boolean
+      name: unknown_108
+secondary_entities:
+  - entity: fan
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 6
+        type: string
+        name: speed
+        mapping:
+          - dps_val: "1"
+            value: 50
+          - dps_val: "2"
+            value: 100
+      - id: 8
+        type: boolean
+        name: oscillate
+  - entity: lock
+    name: Child lock
+    icon: "mdi:hand-back-right-off"
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: lock
+  - entity: sensor
+    name: Temperature
+    class: temperature
+    category: diagnostic
+    dps:
+      - id: 110
+        type: integer
+        name: sensor
+        unit: C
+        class: measurement
+  - entity: sensor
+    name: Humidity
+    class: humidity
+    category: diagnostic
+    dps:
+      - id: 3
+        type: integer
+        name: sensor
+        unit: "%"
+        class: measurement
+
+
+