Parcourir la source

Nashone thermostat: rename hvac_action to work_state.

Since the full range of values returned and their meanings is not known,
it is not useful to try to map this as hvac_action.
Jason Rumney il y a 3 ans
Parent
commit
6509d53e85

+ 1 - 9
custom_components/tuya_local/devices/nashone_mts700wb_thermostat.yaml

@@ -30,15 +30,7 @@ primary_entity:
               value_redirect: power
     - id: 3
       type: string
-      name: hvac_action
-      mapping:
-        - dps_val: manual
-          constraint: hvac_mode
-          conditions:
-            - dps_val: cold
-              value: cooling
-            - dps_val: hot
-              value: heating
+      name: work_state
     - id: 16
       type: integer
       name: temperature