소스 검색

Trotec PAC-W: change fan_mode type

Alexander Knöbel 2 년 전
부모
커밋
26f662dbee
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

+ 4 - 4
custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

@@ -38,13 +38,13 @@ primary_entity:
       hidden: true
     - id: 5
       name: fan_mode
-      type: integer
+      type: string
       mapping:
-        - 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: 19
       name: temperature_unit