فهرست منبع

Add support for Hunter Pacific 9 speed fan with light

Issue #1529
Jason Rumney 1 سال پیش
والد
کامیت
07f78f9c06
3فایلهای تغییر یافته به همراه33 افزوده شده و 0 حذف شده
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      DEVICES.md
  3. 31 0
      custom_components/tuya_local/devices/hunterpacific_9speed_fanlight.yaml

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -650,3 +650,4 @@ Further device support has been made with the assistance of users. Please consid
 - [schmurgel-tg](https://github.com/schmurgel-tg) for assisting with support for Create ceiling fan with light.
 - [inode-](https://github.com/inode-) for assisting with support for O'TU R1O1 fingerprint door lock.
 - [madpeteguy](https://github.com/madpeteguy) for contributing support for Thermoval TVT40 thermostat.
+- [blackice013](https://github.com/blackice013) for contributing support for Hunter Pacific 9 speed fan with light.

+ 1 - 0
DEVICES.md

@@ -220,6 +220,7 @@
 - Goldair GCPF315 fan
 - Goldair Platinum tower fan (2 variants)
 - Hiper T3 bladeless fan
+- Hunter Pacific 9 speed ceiling fan with light
 - HYD WeAir Plus bladeless fan with heating function
 - Immax Neo Lite Vento ceiling fan with light
 - Klarstein Skyscaper Ice cooling fan

+ 31 - 0
custom_components/tuya_local/devices/hunterpacific_9speed_fanlight.yaml

@@ -0,0 +1,31 @@
+name: Ceiling fan with light
+products:
+  - id: agjbamgmrbcbazp7
+    name: Hunter Pacific 9 speed
+primary_entity:
+  entity: fan
+  dps:
+    - id: 60
+      type: boolean
+      name: switch
+    - id: 62
+      type: integer
+      name: speed
+      range:
+        min: 1
+        max: 9
+    - id: 63
+      type: string
+      name: direction
+secondary_entities:
+  - entity: light
+    dps:
+      - id: 20
+        type: boolean
+        name: switch
+      - id: 22
+        name: brightness
+        type: integer
+        range:
+          min: 1
+          max: 9