Explorar el Código

RGB LED strip: add compatible Serene Aquarium light

- add specific scenes for this device

The scenes appear to be prefixed by an index, so possibly these sets of
scenes cannot be mixed, but at least they are available. Scenes for this
light are all prefixed by "Aquarium" to make them recognizable.

Issue #2946
Jason Rumney hace 1 año
padre
commit
582ac91ed4
Se han modificado 1 ficheros con 24 adiciones y 0 borrados
  1. 24 0
      custom_components/tuya_local/devices/rgb_led_strip.yaml

+ 24 - 0
custom_components/tuya_local/devices/rgb_led_strip.yaml

@@ -14,6 +14,10 @@ products:
     name: Sunset lamp
     name: Sunset lamp
   - id: whomcoylqdl8r4jw
   - id: whomcoylqdl8r4jw
     manufacturer: Nince
     manufacturer: Nince
+  - id: 1pxpwqg6ddyqifkr
+    manufacturer: Serene
+    model: ColorPlus
+    name: Aquarium light
 entities:
 entities:
   - entity: light
   - entity: light
     dps:
     dps:
@@ -176,3 +180,23 @@ entities:
             value: "Easter"
             value: "Easter"
           - dps_val: "28525201011303e803e800000000525201001e03e803e800000000"
           - dps_val: "28525201011303e803e800000000525201001e03e803e800000000"
             value: "Halloween"
             value: "Halloween"
+          - dps_val: "006262020000000003e800000000626202002c008203de00000000"
+            value: "Aquarium daylight"
+          - dps_val: "01565602002c008203de00000000565602012c012c022600000000"
+            value: "Aquarium sunrise"
+          - dps_val: "0262620200f003e803e80000000062620200e5035c00e600000000"
+            value: "Aquarium moonlight"
+          - dps_val: "0366660200d100a0026c0000000066660200c102bc01ae00000000\
+              66660200bb03c0035c00000000"
+            value: "Aquarium rain storm"
+          - dps_val: "046666020000000003e80000000066660200c7004603a200000000\
+              666602002c008203de00000000"
+            value: "Aquarium cloudy"
+          - dps_val: "0666660200e6038e03e80000000066660200fe03ca025800000000\
+              66660200c9035203e800000000"
+            value: "Aquarium glow"
+          - dps_val: "0762620200d002940384000000006262020000000003e800000000"
+            value: "Aquarium stream"
+          - dps_val: "0866660200d7033402440000000066660200c603e801f400000000\
+              666602011702b2023a00000000"
+            value: "Aquarium deepwater"