Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
181a065456
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  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