Parcourir la source

#1047 fix light brightness values

whit-tj il y a 2 ans
Parent
commit
b923e413a5

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

@@ -4,6 +4,7 @@ products:
     name: Carro (Qizheng) Fan Light
 primary_entity:
   entity: fan
+  name: Ceiling fan
   dps:
     - id: 1
       type: boolean
@@ -53,8 +54,8 @@ secondary_entities:
         name: brightness
         type: integer
         range:
-          min: 0
-          max: 100
+          min: 10
+          max: 1000
         mapping:
           - step: 1
   - entity: light
@@ -67,7 +68,7 @@ secondary_entities:
         name: brightness
         type: integer
         range:
-          min: 0
-          max: 100
+          min: 10
+          max: 1000
         mapping:
           - step: 1