Explorar el Código

Add support for generic lightbulbs.

Austin Hodak hace 3 años
padre
commit
81c6e3b838
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  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