Jason Rumney 8 месяцев назад
Родитель
Сommit
4db61d693c
1 измененных файлов с 14 добавлено и 14 удалено
  1. 14 14
      custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

+ 14 - 14
custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

@@ -25,20 +25,20 @@ entities:
           min: 45
           max: 212
         mapping:
-            - constraint: temperature_unit
-              conditions:
-                - dps_val: c
-                  value_redirect: temperature_c
-                  step: 5
-                  range:
-                    min: 45
-                    max: 100
-                - dps_val: f
-                  value_redirect: temperature_f
-                  step: 9
-                  range:
-                    min: 113
-                    max: 212
+          - constraint: temperature_unit
+            conditions:
+              - dps_val: c
+                value_redirect: temperature_c
+                step: 5
+                range:
+                  min: 45
+                  max: 100
+              - dps_val: f
+                value_redirect: temperature_f
+                step: 9
+                range:
+                  min: 113
+                  max: 212
       - id: 101
         type: string
         name: temperature_f