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

CCT lightbulb: Invert color temp

As with other lights, the 0-1000 relates to Kelvin temperature, but the
integration is still using mired, as HA used to only support that.

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

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

@@ -25,6 +25,8 @@ primary_entity:
       range:
         min: 0
         max: 1000
+      mapping:
+        - invert: true
     - id: 25
       name: scene
       type: hex