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

Create temple_and_webster_fan_alina

Temple and Webster smart fan 

https://www.templeandwebster.com.au/Alina-132cm-DC-Smart-Ceiling-Fan-with-Remote-Control-AART1643.html
jaso1000 8 месяцев назад
Родитель
Сommit
5e6588c518
1 измененных файлов с 62 добавлено и 0 удалено
  1. 62 0
      custom_components/tuya_local/devices/temple_and_webster_fan_alina

+ 62 - 0
custom_components/tuya_local/devices/temple_and_webster_fan_alina

@@ -0,0 +1,62 @@
+name: Fan
+products:
+  - id: lb9da3os0ihifq7u
+    manufacturer: Temple and Webster
+    model: AART1643
+    name: Alina
+entities:
+  - entity: fan
+    translation_only_key: fan_with_presets
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: string
+        name: preset_mode
+        optional: true
+        mapping:
+          - dps_val: smart
+            value: smart
+          - dps_val: nature
+            value: nature
+          - dps_val: sleep
+            value: sleep
+          - dps_val: fresh
+            value: fresh
+      - id: 3
+        type: integer
+        name: speed
+        optional: true
+        range:
+          min: 1
+          max: 6
+      - id: 8
+        type: string
+        name: direction
+  - 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"