瀏覽代碼

fix(eberg_cooly_c35hd): quote values that need to be quoted

Unquote some that don't need to be.
Jason Rumney 9 月之前
父節點
當前提交
866e3a471c
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml

+ 6 - 6
custom_components/tuya_local/devices/eberg_cooly_c35hd.yaml

@@ -44,22 +44,22 @@ entities:
         name: fan_mode
         type: string
         mapping:
-          - dps_val: 0
+          - dps_val: "0"
             value: auto
-          - dps_val: 1
+          - dps_val: "1"
             value: low
-          - dps_val: 2
+          - dps_val: "2"
             value: medium
-          - dps_val: 3
+          - dps_val: "3"
             value: high
       - id: 10
         name: temperature_unit
         type: boolean
         mapping:
           - dps_val: false
-            value: "C"
+            value: C
           - dps_val: true
-            value: "F"
+            value: F
       - id: 13
         type: integer
         name: unknown_13