Explorar o código

Correct preset mode and temporature scale (#3990)

Dominic Taylor hai 3 meses
pai
achega
67c4ae1814

+ 4 - 2
custom_components/tuya_local/devices/warmehaus_afd02tj_thermostat_c.yaml

@@ -20,9 +20,9 @@ entities:
         name: preset_mode
         name: preset_mode
         mapping:
         mapping:
           - dps_val: hot
           - dps_val: hot
-            value: comfort
-          - dps_val: cold
             value: manual
             value: manual
+          - dps_val: cold
+            value: comfort
           - dps_val: eco
           - dps_val: eco
             value: boost
             value: boost
           - dps_val: auto
           - dps_val: auto
@@ -45,6 +45,8 @@ entities:
       - id: 24
       - id: 24
         type: integer
         type: integer
         name: current_temperature
         name: current_temperature
+        mapping:
+          - scale: 10
       - id: 1
       - id: 1
         type: boolean
         type: boolean
         name: hvac_action
         name: hvac_action