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

feat(devices): add Pureborne HTF1001 tower fan

Issue #5186
Jason Rumney 1 сар өмнө
parent
commit
e97a148108

+ 1 - 0
DEVICES.md

@@ -420,6 +420,7 @@
 - Princess Smart Tower fan
 - Prism+ Oasis Pro ceiling fan with RGBCCT light
 - Pro Breeze AirFlo 43" pedestal fan
+- Pureborne HTF1001 tower fan
 - Qiachip QI-FLRC-1 ceiling fan with light
 - Reiga ceiling fans with and without light
 - Reventon / Holtop Smart ERV heat recovery ventilator

+ 79 - 0
custom_components/tuya_local/devices/pureborne_htf1001_towerfan.yaml

@@ -0,0 +1,79 @@
+name: Tower fan
+products:
+  - id: vv3blwenchl2xnyj
+    manufacturer: Pureborne
+    model: HTF1001
+entities:
+  - entity: fan
+    translation_key: fan_with_presets
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: nature
+            value: nature
+          - dps_val: sleep
+            value: sleep
+          - dps_val: nomal
+            value: normal
+          - dps_val: auto
+            value: auto
+      - id: 5
+        type: boolean
+        name: oscillate
+      - id: 102
+        type: string
+        name: speed
+        mapping:
+          - dps_val: F1
+            value: 25
+          - dps_val: F2
+            value: 50
+          - dps_val: F3
+            value: 75
+          - dps_val: F4
+            value: 100
+  - entity: switch
+    translation_key: sound
+    dps:
+      - id: 13
+        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"