Explorar o código

Update atorch_s1tw_thermostat.yaml

Fake DP for current_temperature replaced with current_temperature_c by default.
vvv2542 hai 1 ano
pai
achega
b06bb30a70

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

@@ -40,23 +40,15 @@ entities:
             value: C
           - dps_val: f
             value: F
-      - id: 0
+      - id: 102
         type: integer
         name: current_temperature
         mapping:
           - scale: 10
             constraint: temperature_unit
             conditions:
-              - dps_val: c
-                value_redirect: current_temperature_c
               - dps_val: f
                 value_redirect: current_temperature_f
-      - id: 102
-        type: integer
-        name: current_temperature_c
-        hidden: true
-        mapping:
-          - scale: 10
       - id: 124
         type: integer
         name: current_temperature_f