Quellcode durchsuchen

Add support for generic lightbulbs.

Austin Hodak vor 3 Jahren
Ursprung
Commit
81c6e3b838
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  1. 13 0
      custom_components/tuya_local/devices/simple_lightbulb.yaml

+ 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