Browse Source

Added support for Hunter Pacific 6 speed WiFi fan controller (WIFIM099 6SP_WIFI_REMOTER) (#4814)

* Added support for Hunter Pacific 6 speed WiFi fan controller (WIFIM099 6SP_WIFI_REMOTER)

* fix (hunterpacific_6speed_fanlight): add newline at EOF

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
thetallbloke 1 week ago
parent
commit
f7344a5bd1

+ 63 - 0
custom_components/tuya_local/devices/hunterpacific_6speed_fanlight.yaml

@@ -0,0 +1,63 @@
+name: Ceiling fan with light
+products:
+  - id: 8tai0lslpwgaexzv
+    manufacturer: Hunter Pacific
+    model: "6 speed"
+entities:
+  - entity: fan
+    dps:
+      - id: 60
+        type: boolean
+        name: switch
+      - id: 62
+        type: integer
+        name: speed
+        range:
+          min: 1
+          max: 6
+      - id: 63
+        type: string
+        name: direction
+  - entity: light
+    dps:
+      - id: 20
+        type: boolean
+        name: switch
+      - id: 21
+        name: work_mode
+        type: string
+        optional: true
+      - id: 22
+        name: brightness
+        type: integer
+        range:
+          min: 1
+          max: 7
+      - id: 23
+        name: color_temp
+        type: integer
+        optional: true
+        range:
+          min: 0
+          max: 1000
+        mapping:
+          - target_range:
+              min: 2700
+              max: 6500
+            step: 500
+      - id: 25
+        name: scene_data
+        type: string
+        optional: true
+  - entity: number
+    translation_key: timer
+    class: duration
+    category: config
+    dps:
+      - id: 64
+        type: integer
+        name: value
+        unit: min
+        range:
+          min: 0
+          max: 540