소스 검색

fix (fisher_summer_air_conditioner): avoid HA error when no mode

- when mode is missing, avoid hvac_mode being set to True, which is invalid

Issue #4494
Jason Rumney 3 달 전
부모
커밋
9def53b66c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml

+ 4 - 0
custom_components/tuya_local/devices/fisher_summer_air_conditioner.yaml

@@ -41,6 +41,9 @@ entities:
                 value: dry
               - dps_val: hot
                 value: heat
+              - dps_val: null
+                value: heat_cool
+                hidden: true
       - id: 2
         name: temperature
         type: integer
@@ -57,6 +60,7 @@ entities:
       - id: 4
         name: mode
         type: string
+        optional: true
       - id: 5
         name: fan_mode
         type: string