Jelajahi Sumber

Adds support for Lucci Aria DC Fan (#6289)

Lucci Aria DC Fan sold by Beacon Lighting Australia

This PR adds support for Lucci Aria DC Fans sold by Beacon Lighting
Australia. Tested working on non-light models, but confirmed light
functionality in Tuya developer.

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
Corza 7 jam lalu
induk
melakukan
0bdc47f964
1 mengubah file dengan 86 tambahan dan 0 penghapusan
  1. 86 0
      custom_components/tuya_local/devices/lucci_ariadc_fan.yaml

+ 86 - 0
custom_components/tuya_local/devices/lucci_ariadc_fan.yaml

@@ -0,0 +1,86 @@
+name: Ceiling fan
+products:
+  - id: qzr8t7c8qy78bhji
+    manufacturer: Lucci
+    model: Aria DC
+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: normal
+            value: normal
+      - id: 3
+        name: speed
+        type: integer
+        range:
+          min: 1
+          max: 6
+      - id: 8
+        name: direction
+        type: string
+  - entity: light
+    dps:
+      - id: 15
+        type: boolean
+        name: switch
+      - id: 16
+        name: brightness
+        type: integer
+        range:
+          min: 2
+          max: 100
+  - entity: select
+    name: Fan timer
+    translation_key: timer
+    category: config
+    dps:
+      - id: 22
+        name: option
+        type: string
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1h"
+            value: "1h"
+          - dps_val: "2h"
+            value: "2h"
+          - dps_val: "4h"
+            value: "4h"
+          - dps_val: "8h"
+            value: "8h"
+  - entity: select
+    name: Light timer
+    translation_key: timer
+    category: config
+    dps:
+      - id: 101
+        name: option
+        type: string
+        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"