Просмотр исходного кода

Duplicate klarstein_skytowergrandsmart_fan.yaml

Liau Jian Jie 8 месяцев назад
Родитель
Сommit
32c0428746

+ 91 - 0
custom_components/tuya_local/devices/point_one_storm_vspec_iv_dual_axis_corner_fan.yaml

@@ -0,0 +1,91 @@
+name: Air cooler
+products:
+  - id: rlphjc5nzs3v5xdt
+    manufacturer: Klarstein
+    model: Skytower Grand Smart
+entities:
+  - entity: fan
+    translation_only_key: fan_with_presets
+    dps:
+      - id: 1
+        name: switch
+        type: boolean
+      - id: 2
+        type: string
+        name: speed
+        mapping:
+          - dps_val: "low"
+            value: 33
+          - dps_val: "mid"
+            value: 66
+          - dps_val: "high"
+            value: 100
+      - id: 3
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: normal
+            value: normal
+          - dps_val: nature
+            value: nature
+          - dps_val: sleep
+            value: sleep
+      - id: 10
+        type: boolean
+        name: oscillate
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 11
+        type: string
+        name: option
+        optional: true
+        mapping:
+          - dps_val: close
+            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"
+  - entity: switch
+    name: Humidifier
+    icon: "mdi:air-humidifier"
+    dps:
+      - id: 6
+        type: boolean
+        name: switch
+  - entity: binary_sensor
+    name: Ionizer
+    class: running
+    icon: "mdi:atom"
+    category: diagnostic
+    hidden: true
+    dps:
+      - id: 101
+        type: boolean
+        name: sensor
+  - entity: binary_sensor
+    name: Purifier
+    class: running
+    icon: "mdi:air-purifier"
+    category: diagnostic
+    hidden: true
+    dps:
+      - id: 102
+        type: boolean
+        name: sensor