Sfoglia il codice sorgente

Feit light rgb bulb: naming change

Swap product specific and general name.
Default color_mode to white, rather than simply not working when color mode is not sent (suspect it is only when off though)
Jason Rumney 2 anni fa
parent
commit
e2947f322e

+ 4 - 2
custom_components/tuya_local/devices/feit_light_rgb_bulb.yaml

@@ -1,7 +1,7 @@
-name: Feit RGB Light Bulb
+name: RGBWW Light
 products:
 products:
   - id: 8cr0olwf9sphi0u4
   - id: 8cr0olwf9sphi0u4
-    name: Color Lights
+    name: Feit RGB Light Bulb
 primary_entity:
 primary_entity:
   entity: light
   entity: light
   dps:
   dps:
@@ -17,6 +17,8 @@ primary_entity:
           value: color_temp
           value: color_temp
         - dps_val: colour
         - dps_val: colour
           value: hs
           value: hs
+        - dps_val: null
+          value: white
     - id: 3
     - id: 3
       type: integer
       type: integer
       name: brightness
       name: brightness