Преглед изворни кода

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 година
родитељ
комит
181a065456
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      custom_components/tuya_local/devices/ledkia_fan_light.yaml

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

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