فهرست منبع

feat (devices): add dLuft Smart Flow ventilation fan

Issue #3986
Jason Rumney 3 ماه پیش
والد
کامیت
d336339653
3فایلهای تغییر یافته به همراه159 افزوده شده و 0 حذف شده
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 157 0
      custom_components/tuya_local/devices/dluft_smartflow_ventilation.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1126,3 +1126,4 @@ Further device support has been made with the assistance of users. Please consid
 - [emcyaman](https://github.com/emcyaman) for contributing support for Zemismart SPM02-D2TW energy meter.
 - [gec75](https://github.com/gec75) for contributing support for Afyeev 11kW 3x15A EV charger, which was merged with the existing Afyeev 16A config.
 - [brendanlees](https://github.com/brendanlees) for contributing support for Fanco Infinity, which was merged with existing Fanco Eco Silent.
+- [widegaint](https://github.com/widegaint) for assisting with support for dLuft Smart Flow ventilation fan.

+ 1 - 0
DEVICES.md

@@ -288,6 +288,7 @@
 - Depauley WS-FPZ37-18I-EU ceiling fan with light
 - Deta fan controllers (6914HA Series 2 and 3)
 - Djive ARC humidifying fan
+- dLuft Smart Flow ventilator fan
 - Dream Maker Feel DM01 fan
 - Duux Whisper Flex pedestal fan
 - Duux Whisper Flex Ultimate

+ 157 - 0
custom_components/tuya_local/devices/dluft_smartflow_ventilation.yaml

@@ -0,0 +1,157 @@
+name: Ventilation
+products:
+  - id: sryya13xip27w2nv
+    manufacturer: dLuft
+    model: Smart Flow
+entities:
+  - entity: fan
+    translation_key: ventilation
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: supply
+            value: fresh
+          - dps_val: exhaust
+            value: extractor
+          - dps_val: ventilate
+            value: heat_recovery
+      - id: 3
+        type: integer
+        name: speed
+        range:
+          min: 1
+          max: 3
+  - entity: light
+    translation_key: indicator
+    category: config
+    dps:
+      - id: 15
+        type: boolean
+        name: switch
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 22
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "3h"
+            value: "3h"
+          - dps_val: "4h"
+            value: "4h"
+          - dps_val: "5h"
+            value: "5h"
+          - dps_val: "6h"
+            value: "6h"
+          - dps_val: "7h"
+            value: "7h"
+          - dps_val: "8h"
+            value: "8h"
+          - dps_val: "9h"
+            value: "9h"
+          - dps_val: "10h"
+            value: "10h"
+          - dps_val: "11h"
+            value: "11h"
+          - dps_val: "12h"
+            value: "12h"
+          - dps_val: "13h"
+            value: "13h"
+          - dps_val: "14h"
+            value: "14h"
+          - dps_val: "15h"
+            value: "15h"
+          - dps_val: "16h"
+            value: "16h"
+          - dps_val: "17h"
+            value: "17h"
+          - dps_val: "18h"
+            value: "18h"
+          - dps_val: "19h"
+            value: "19h"
+          - dps_val: "20h"
+            value: "20h"
+          - dps_val: "21h"
+            value: "21h"
+          - dps_val: "22h"
+            value: "22h"
+          - dps_val: "23h"
+            value: "23h"
+          - dps_val: "24h"
+            value: "24h"
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
+    category: diagnostic
+    dps:
+      - id: 23
+        type: integer
+        name: sensor
+        unit: min
+  - entity: binary_sensor
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 24
+        type: bitfield
+        optional: true
+        name: sensor
+        mapping:
+          - dps_val: 0
+            value: false
+          - dps_val: null
+            value: false
+          - value: true
+      - id: 24
+        type: bitfield
+        optional: true
+        name: fault_code
+  - entity: binary_sensor
+    class: connectivity
+    category: diagnostic
+    dps:
+      - id: 101
+        type: boolean
+        name: sensor
+  - entity: switch
+    name: Boost
+    category: config
+    dps:
+      - id: 102
+        type: boolean
+        name: switch
+  - entity: humidifier
+    class: dehumidifier
+    dps:
+      - id: 103
+        type: boolean
+        name: switch
+      - id: 104
+        type: integer
+        name: humidity
+        range:
+          min: 40
+          max: 95
+      - id: 105
+        type: integer
+        name: current_humidity
+  - entity: binary_sensor
+    name: Filter
+    class: problem
+    category: diagnostic
+    dps:
+      - id: 106
+        type: boolean
+        name: sensor