4
0
Эх сурвалжийг харах

Add support for generic lightbulbs.

Austin Hodak 3 жил өмнө
parent
commit
81c6e3b838

+ 13 - 0
custom_components/tuya_local/devices/simple_lightbulb.yaml

@@ -0,0 +1,13 @@
+name: Simple lightbulb
+primary_entity:
+  entity: light
+  dps:
+    - id: 1
+      name: switch
+      type: boolean
+    - id: 2
+      name: brightness
+      type: integer
+      range:
+        min: 10
+        max: 255