Parcourir la source

feat (devices): support for Venta AH510 humidifier

Issue #4090
Jason Rumney il y a 2 mois
Parent
commit
5868d9f581

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1161,3 +1161,4 @@ Further device support has been made with the assistance of users. Please consid
 - [MIKOLAJW197](https://github.com/MIKOLAJW197) for contributing improvements to the vacuum entity.
 - [barijaona](https://github.com/barijaona) for contributing support for SRNE SE Series lithium battery.
 - [marcins](https://github.com/marcins) for contributing support for Henden Essential pool heat pump.
+- [adrienkohlbecker](https://github.com/adrienkohlbecker) for assisting with support for Venta AH510 Original Connect humidifier.

+ 1 - 0
DEVICES.md

@@ -466,6 +466,7 @@
 - RZTK Aqua Pro humidifier
 - Stadler Form Eva, Karl, Karl Big humidifiers
 - Tesla Smart humidifier
+- Venta AH510 Original Connect humidifier
 - Wetair WAW-H1210LW humidifier
 - Wilfa Haze HU400BC humidifier
 

+ 105 - 0
custom_components/tuya_local/devices/venta_ah510_humidifier.yaml

@@ -0,0 +1,105 @@
+name: Humidifier
+products:
+  - id: ecihf2xeg7ghlfnh
+    manufacturer: Venta
+    model: Original Connect
+    model_id: AH510
+entities:
+  - entity: humidifier
+    class: humidifier
+    dps:
+      - id: 1
+        type: boolean
+        optional: true
+        name: switch
+      - id: 13
+        type: integer
+        optional: true
+        name: humidity
+        range:
+          min: 30
+          max: 70
+        mapping:
+          - step: 5
+      - id: 14
+        type: integer
+        name: current_humidity
+      - id: 24
+        type: string
+        optional: true
+        name: mode
+        mapping:
+          - dps_val: natural_evaporation
+            value: eco
+          - dps_val: heating_evaporation
+            value: comfort
+          - dps_val: ultrasonic_evaporation
+            value: boost
+  - entity: fan
+    dps:
+      - id: 1
+        type: boolean
+        optional: true
+        name: switch
+      - id: 101
+        type: string
+        optional: true
+        name: speed
+        mapping:
+          - dps_val: "1"
+            value: 33
+          - dps_val: "2"
+            value: 66
+          - dps_val: "3"
+            value: 100
+  - entity: sensor
+    class: temperature
+    dps:
+      - id: 10
+        type: integer
+        optional: true
+        name: sensor
+        unit: C
+        class: measurement
+  - entity: select
+    translation_key: temperature_unit
+    category: config
+    dps:
+      - id: 18
+        type: string
+        optional: true
+        name: option
+        mapping:
+          - dps_val: c
+            value: celsius
+          - dps_val: f
+            value: fahrenheit
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 20
+        type: integer
+        optional: true
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 22
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: null
+            value: false
+          - value: true
+      - id: 22
+        type: bitfield
+        optional: true
+        name: fault_code
+