فهرست منبع

fix (novadigital_quad_switch): add quotes around numeric strings

Jason Rumney 1 ماه پیش
والد
کامیت
5f33a87837
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      custom_components/tuya_local/devices/novadigital_quad_switch.yaml

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

@@ -94,11 +94,11 @@ entities:
         name: option
         type: string
         mapping:
-          - dps_val: 0
+          - dps_val: "0"
             value: "off"
-          - dps_val: 1
+          - dps_val: "1"
             value: "on"
-          - dps_val: 2
+          - dps_val: "2"
             value: memory
         optional: true
         force: true