فهرست منبع

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