Browse Source

Chanfok ceiling fan: invert color_temp

This also matches the behaviour of the generic rgbcw light.

Issue #546
Jason Rumney 2 years ago
parent
commit
3c8e9d5f2f
1 changed files with 2 additions and 0 deletions
  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:
         range:
           min: 0
           min: 0
           max: 1000
           max: 1000
+        mapping:
+          - invert: true
       - id: 28
       - id: 28
         name: control_data
         name: control_data
         type: hex
         type: hex