浏览代码

#930 #1047 fix brightness range

whit-tj 2 年之前
父节点
当前提交
9b78c52a0f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      custom_components/tuya_local/devices/carro_smart_ceiling_fan_light.yaml

+ 4 - 4
custom_components/tuya_local/devices/carro_smart_ceiling_fan_light.yaml

@@ -62,8 +62,8 @@ secondary_entities:
         name: brightness
         type: integer
         range:
-          min: 0
-          max: 100
+          min: 10
+          max: 1000
         mapping:
           - step: 1
   - entity: light
@@ -76,7 +76,7 @@ secondary_entities:
         name: brightness
         type: integer
         range:
-          min: 0
-          max: 100
+          min: 10
+          max: 1000
         mapping:
           - step: 1