Przeglądaj źródła

Caldo Up-T: fix preset dp values

The device apparently uses level_1..level_3, not the "0".."2" that was
originally included in the PR.

PR #2033
Jason Rumney 1 rok temu
rodzic
commit
e2b9ab42bf

+ 3 - 3
custom_components/tuya_local/devices/caldo_up_t_wifi.yaml

@@ -28,11 +28,11 @@ primary_entity:
       type: string
       name: preset_mode
       mapping:
-        - dps_val: "0"
+        - dps_val: "level_1"
           value: none
-        - dps_val: "1"
+        - dps_val: "level_2"
           value: comfort
-        - dps_val: "2"
+        - dps_val: "level_3"
           value: boost
     - id: 8
       type: boolean