Jelajahi Sumber

Brizlabs string lights: minor changes before merge

- naming: brand moved to products (commented, as id is not known)
- effects: quote the "off", capitalise "Scene" for display.

PR #2610
Jason Rumney 1 tahun lalu
induk
melakukan
ad925e9599

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

@@ -1,4 +1,7 @@
-name: brizlabs string lights
+name: String lights
+# products:
+#   - id: UNKNOWN
+#     name: Brizlabs string lights
 primary_entity:
   entity: light
   dps:
@@ -10,9 +13,9 @@ primary_entity:
       name: effect
       mapping:
         - dps_val: colour
-          value: off
+          value: "off"
         - dps_val: scene
-          value: scene
+          value: Scene
     - id: 24
       name: rgbhsv
       type: hex