Parcourir la source

Add range 0-9

Gert-jan il y a 1 an
Parent
commit
818d50cad3

+ 3 - 0
custom_components/tuya_local/devices/sunred_smart_triangle_heater.yaml

@@ -26,6 +26,9 @@ entities:
       - id: 5
         type: string
         name: value
+        range:
+          min: 0
+          max: 9
         mapping:
           - dps_val: "0"
             value: 0