فهرست منبع

feat(devices): add support for Yijingkc 284-8 ceiling fan

Issue #3626

- bump version for September release date
Jason Rumney 5 ماه پیش
والد
کامیت
f4b63f3f9a

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1035,3 +1035,4 @@ Further device support has been made with the assistance of users. Please consid
 - [stevene1919](https://github.com/stevene1919) for assisting with support for Breville AirRounder Plus Connect purifier heater.
 - [Dead96](https://github.com/Dead96) for contributing support for Tongou SA1 energy meter.
 - [dustball62](https://github.com/dustball62) for assisting with support for Tolviviov DP-W2.1 alarm panel.
+- [jkfromk](https://github.com/jkfromk) for assisting with support for Yijingkc 284-8 ceiling fan.

+ 1 - 0
DEVICES.md

@@ -333,6 +333,7 @@
 - Varin CFWI50 RGBCW ceiling fan
 - Windcalm ceiling fans with and without cool/warm white dimmable light
 - Yidi/NHZS fan and light wall switch
+- Yijingkc 284-8 ceiling fan
 
 ### Air Purifiers
 

+ 66 - 0
custom_components/tuya_local/devices/yijingkc_2848_ceilingfan.yaml

@@ -0,0 +1,66 @@
+name: Ceiling fan
+products:
+  - id: 9wk4nujruztpwi5f
+    manufacturer: Yijingkc
+    model: "284-8"
+entities:
+  - 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: 10
+          max: 1000
+  - entity: fan
+    dps:
+      - id: 101
+        type: string
+        name: direction
+      - id: 102
+        type: string
+        name: speed_enum
+      - id: 104
+        type: integer
+        name: speed
+        range:
+          min: 1
+          max: 6
+      - id: 105
+        type: boolean
+        name: switch
+      - id: 106
+        type: string
+        name: preset_mode
+        mapping:
+          - dps_val: fresh
+            value: fresh
+          - dps_val: nature
+            value: nature
+          - dps_val: sleep
+            value: sleep
+  - entity: select
+    translation_key: timer
+    category: config
+    dps:
+      - id: 103
+        type: string
+        name: option
+        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"

+ 1 - 1
custom_components/tuya_local/manifest.json

@@ -18,5 +18,5 @@
         "tinytuya==1.17.4",
         "tuya-device-sharing-sdk~=0.2.1"
     ],
-    "version": "2025.8.1"
+    "version": "2025.9.0"
 }