Преглед на файлове

Update nince_rgb_led_strip.yaml changes from review

- Swap names so branding is under products.
- remove single option colour_mode (bugfix has been committed for this being required for correct brightness control).

PR #2497
Jason Rumney преди 1 година
родител
ревизия
78920b8171
променени са 1 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 3 6
      custom_components/tuya_local/devices/nince_rgb_led_strip.yaml

+ 3 - 6
custom_components/tuya_local/devices/nince_rgb_led_strip.yaml

@@ -1,7 +1,7 @@
-name: Nince RGB LED Strip
+name: RGB strip
 products:
   - id: whomcoylqdl8r4jw
-    name: Smart RGB Strip
+    name: Nince RGB LED strip
 primary_entity:
   entity: light
   dps:
@@ -10,10 +10,7 @@ primary_entity:
       name: switch
     - id: 21
       type: string
-      name: color_mode
-      mapping:
-        - dps_val: "colour"
-          value: "hs"
+      name: work_mode
     - id: 25
       type: string
       name: effect