Просмотр исходного кода

Update atorch_s1tw_thermostat.yaml

Fake DP for current_temperature replaced with current_temperature_c by default.
vvv2542 10 месяцев назад
Родитель
Сommit
b06bb30a70
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      custom_components/tuya_local/devices/atorch_s1tw_thermostat.yaml

+ 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