Sfoglia il codice sorgente

Digoo, Moes, generic RGBW lights: use original Scene and Music names

The advantage to using colorloop and random is that since they are
predefined, they might get translations faster.  But probably it is
more confusing than helpful to end users to have them named
differently than the Tuya app and documentation for their light.
Jason Rumney 3 anni fa
parent
commit
14276b2c44

+ 2 - 2
custom_components/tuya_local/devices/digoo_dgsp01_dual_nightlight_switch.yaml

@@ -22,9 +22,9 @@ secondary_entities:
           - dps_val: colour
             value: rgbw
           - dps_val: scene
-            value: colorloop
+            value: Scene
           - dps_val: music
-            value: random
+            value: Music
           - dps_val: scene_1
             value: Scene 1
           - dps_val: scene_2

+ 1 - 1
custom_components/tuya_local/devices/moes_rgb_socket.yaml

@@ -27,7 +27,7 @@ secondary_entities:
           - dps_val: colour
             value: rgbw
           - dps_val: scene
-            value: colorloop
+            value: Scene
           - dps_val: scene_1
             value: Scene 1
           - dps_val: scene_2

+ 2 - 2
custom_components/tuya_local/devices/rgbcw_lightbulb.yaml

@@ -17,9 +17,9 @@ primary_entity:
         - dps_val: colour
           value: rgbw
         - dps_val: scene
-          value: colorloop
+          value: Scene
         - dps_val: music
-          value: random
+          value: Music
     - id: 22
       name: brightness
       type: integer