4
0
Эх сурвалжийг харах

fix (cc_curtain): quote numeric strings in mapping

Unquoted, these are interpreted as numeric 1,2,3 instead of the string
"01", "02", "03" that is specified.
Jason Rumney 3 сар өмнө
parent
commit
4502191f84

+ 3 - 3
custom_components/tuya_local/devices/cc_curtain.yaml

@@ -12,9 +12,9 @@ entities:
         name: control
         type: string
         mapping:
-          - dps_val: 01
+          - dps_val: "01"
             value: stop
-          - dps_val: 02
+          - dps_val: "02"
             value: open
-          - dps_val: 03
+          - dps_val: "03"
             value: close