瀏覽代碼

Add range 0-9

Gert-jan 1 年之前
父節點
當前提交
818d50cad3
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      custom_components/tuya_local/devices/sunred_smart_triangle_heater.yaml

+ 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