Przeglądaj źródła

Ledkia light: remove conditional behaviour based on light_type.

Light type does not seem to be returned, and the behaviour is reportedly fixed.
Jason Rumney 3 lat temu
rodzic
commit
181a065456

+ 1 - 5
custom_components/tuya_local/devices/ledkia_fan_light.yaml

@@ -28,11 +28,7 @@ secondary_entities:
         name: color_mode
         name: color_mode
         mapping:
         mapping:
           - dps_val: white
           - dps_val: white
-            constraint: light_type
-            conditions:
-              - dps_val: led
-                value: color_temp
-              - value: brightness
+            value: color_temp
       - id: 22
       - id: 22
         type: integer
         type: integer
         name: brightness
         name: brightness