Przeglądaj źródła

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 lat temu
rodzic
commit
c85c3eb72e

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

@@ -10,13 +10,7 @@ primary_entity:
       name: hvac_mode
       mapping:
         - 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
           value: "off"
     - id: 2