4
0
Эх сурвалжийг харах

fix (fiesta_dk1g_kettle): conditions should be in a mapping

Jason Rumney 2 өдөр өмнө
parent
commit
f1049a2a1b

+ 8 - 7
custom_components/tuya_local/devices/fiesta_dk1g_kettle.yaml

@@ -115,13 +115,14 @@ entities:
         range:
           min: 0
           max: 100
-        constraint: unit
-        conditions:
-          - dps_val: f
-            value_redirect: boil_temp_f
-            range:
-              min: 32
-              max: 212
+        mapping:
+          - constraint: unit
+            conditions:
+              - dps_val: f
+                value_redirect: boil_temp_f
+                range:
+                  min: 32
+                  max: 212
       - id: 11
         type: integer
         optional: true