소스 검색

Caldo Up T: only support heat in hvac_mode

Reportedly the hvac_mode dependent on presets does not work, so
separate them to give the device simple single dp commands to follow.

Adjustment to PR #1286
Jason Rumney 2 년 전
부모
커밋
c85c3eb72e
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      custom_components/tuya_local/devices/caldo_up_t_wifi.yaml

+ 1 - 7
custom_components/tuya_local/devices/caldo_up_t_wifi.yaml

@@ -10,13 +10,7 @@ primary_entity:
       name: hvac_mode
       name: hvac_mode
       mapping:
       mapping:
         - dps_val: true
         - dps_val: true
-          constraint: preset_mode
-          conditions:
-            - dps_val: "0"
-              value: fan_only
-            - dps_val: "1"
-              value: heat
-            - value: heat
+          value: heat
         - dps_val: false
         - dps_val: false
           value: "off"
           value: "off"
     - id: 2
     - id: 2