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

feat(dual_dimmable_lamp): fix products section, remove scales

- light brightness is self scaling, so leave the scales out of the config.

PR #3668
Jason Rumney 6 месяцев назад
Родитель
Сommit
ee266b436d
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      custom_components/tuya_local/devices/dual_dimmable_lamp.yaml

+ 2 - 6
custom_components/tuya_local/devices/dual_dimmable_lamp.yaml

@@ -1,7 +1,7 @@
-name: Dual Dimmable Lamp
+name: Dual dimmable lamp
 products:
   - id: t1o91dvgdb9xclnm
-    name: Dream of You Dual Lamp
+    model: Dream of You Dual Lamp
 entities:
   - entity: light
     name: Filament
@@ -15,8 +15,6 @@ entities:
         range:
           min: 10
           max: 1000
-        mapping:
-          - scale: 0.255
   - entity: light
     name: Base
     dps:
@@ -29,5 +27,3 @@ entities:
         range:
           min: 10
           max: 1000
-        mapping:
-          - scale: 0.255