Explorar o código

Update reiga_52_fan_light.yaml

Kirill Birger %!s(int64=2) %!d(string=hai) anos
pai
achega
3622b2f918

+ 6 - 4
custom_components/tuya_local/devices/reiga_52_fan_light.yaml

@@ -40,12 +40,14 @@ secondary_entities:
         type: string
         name: option
         mapping:
-          - dps_val: cancel
+          - dps_val: "off"
             value: "Off"
           - dps_val: "1hour"
             value: "1 hour"
-          - dps_val: "3hour"
-            value: "3 hours"
+          - dps_val: "2hour"
+            value: "2 hours"
+          - dps_val: "4hour"
+            value: "4 hours"
           - dps_val: "8hour"
             value: "8 hours"
   - entity: light
@@ -66,7 +68,7 @@ secondary_entities:
         type: integer
         name: color_temp
         mapping:
-          - step: 50
+          - step: 1
           - target_range:
               min: 2700
               max: 6500