Procházet zdrojové kódy

feat: add Bolero Ceiling Fan device from Klarstein (#5616)

* feat: add Bolero Ceiling Fan device from Klarstein

* naming improvements to follow convention

---------

Co-authored-by: Jason Rumney <make-all@users.noreply.github.com>
POTIER Mathieu před 3 dny
rodič
revize
0faf7ee03c

+ 30 - 0
custom_components/tuya_local/devices/klarstein_bolero_ceilingfan.yaml

@@ -0,0 +1,30 @@
+name: Ceiling fan with light
+products:
+  - id: 89y2fdsm8alx6cjx
+    manufacturer: Klarstein
+    model: Bolero
+    model_id: CL23001
+entities:
+  - entity: light
+    dps:
+      - id: 20
+        type: boolean
+        name: switch
+  - 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
+      - id: 64
+        type: integer
+        name: fan_countdown_left
+        optional: true