Przeglądaj źródła

Salcar T9W: fix hvac_mode mapping

Issue #359, #460
Jason Rumney 3 lat temu
rodzic
commit
0479ffeb64

+ 6 - 7
custom_components/tuya_local/devices/salcar_t9w_thermostat.yaml

@@ -9,13 +9,12 @@ primary_entity:
         - dps_val: false
         - dps_val: false
           value: "off"
           value: "off"
         - dps_val: true
         - dps_val: true
-          mapping:
-            - constraint: mode
-              conditions:
-                - dps_val: auto
-                  value: auto
-                - dps_val: manual
-                  value: heat
+          constraint: mode
+          conditions:
+            - dps_val: auto
+              value: auto
+            - dps_val: manual
+              value: heat
     - id: 2
     - id: 2
       name: mode
       name: mode
       type: string
       type: string