Просмотр исходного кода

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 лет назад
Родитель
Сommit
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