Bläddra i källkod

Deltaco SH-LW5M LED strip: improve effect naming

From PR #2704, the names are almost identical, just a few were abbreviated
in the original submitted config, sometimes to the point of being
misleading

- marked effect as optional, as submitted in #2704.
Jason Rumney 1 år sedan
förälder
incheckning
13d4c34ce3
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. 4 3
      custom_components/tuya_local/devices/deltaco_shlw5m_ledstrip.yaml

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

@@ -18,17 +18,18 @@ primary_entity:
     - id: 104
       type: string
       name: effect
+      optional: true
       mapping:
         - dps_val: "1"
-          value: "Comb"
+          value: "Combination"
         - dps_val: "2"
           value: "In Wave"
         - dps_val: "3"
           value: "Sequence"
         - dps_val: "4"
-          value: "Slo-slo"
+          value: "Slo-glo"
         - dps_val: "5"
-          value: "Chasin"
+          value: "Chasing"
         - dps_val: "6"
           value: "Fade"
         - dps_val: "7"