Sfoglia il codice sorgente

Add support for Dream of You dual dimmable lamp (t1o91dvgdb9xclnm)

Dan Pracny-Strass 6 mesi fa
parent
commit
4086646452

+ 33 - 0
custom_components/tuya_local/devices/dual_dimmable_lamp.yaml

@@ -0,0 +1,33 @@
+name: Dual Dimmable Lamp
+products:
+  - id: t1o91dvgdb9xclnm
+    name: Dream of You Dual Lamp
+entities:
+  - entity: light
+    name: Filament
+    dps:
+      - id: 1
+        type: boolean
+        name: switch
+      - id: 2
+        type: integer
+        name: brightness
+        range:
+          min: 10
+          max: 1000
+        mapping:
+          - scale: 0.255
+  - entity: light
+    name: Base
+    dps:
+      - id: 7
+        type: boolean
+        name: switch
+      - id: 8
+        type: integer
+        name: brightness
+        range:
+          min: 10
+          max: 1000
+        mapping:
+          - scale: 0.255