Przeglądaj źródła

feat(lsc_neon_ledstrip): add local product id for GoLogi IP44

Issue #5666
Jason Rumney 5 dni temu
rodzic
commit
ed8723b01f

+ 4 - 3
custom_components/tuya_local/devices/lsc_neon_ledstrip.yaml

@@ -3,6 +3,9 @@ products:
   - id: zptxb3enehf8a1uz
   - id: zptxb3enehf8a1uz
     manufacturer: LSC Smart Connect
     manufacturer: LSC Smart Connect
     model: Neon LED strip
     model: Neon LED strip
+  - id: keyj3w8cmutjmwk5
+    manufacturer: LSC Smart Connect
+    model: Neon LED strip
 entities:
 entities:
   - entity: light
   - entity: light
     dps:
     dps:
@@ -28,9 +31,6 @@ entities:
         range:
         range:
           min: 10
           min: 10
           max: 1000
           max: 1000
-        mapping:
-          - dps_val: null
-            value: 0
       - id: 24
       - id: 24
         name: rgbhsv
         name: rgbhsv
         type: hex
         type: hex
@@ -53,6 +53,7 @@ entities:
               max: 1000
               max: 1000
       - id: 46
       - id: 46
         name: length_cm
         name: length_cm
+        optional: true
         type: integer
         type: integer
       - id: 47
       - id: 47
         name: pixels
         name: pixels