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

Chanfok ceiling fan: invert color_temp

This also matches the behaviour of the generic rgbcw light.

Issue #546
Jason Rumney 2 лет назад
Родитель
Сommit
3c8e9d5f2f
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      custom_components/tuya_local/devices/chanfok_fan_light.yaml

+ 2 - 0
custom_components/tuya_local/devices/chanfok_fan_light.yaml

@@ -48,6 +48,8 @@ secondary_entities:
         range:
           min: 0
           max: 1000
+        mapping:
+          - invert: true
       - id: 28
         name: control_data
         type: hex