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

fix(comon_lights): allow effect to be switched off

Jason Rumney 23 часов назад
Родитель
Сommit
32d420d81a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      custom_components/tuya_local/devices/comon_lights.yaml

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

@@ -13,6 +13,8 @@ entities:
         type: string
         name: effect
         mapping:
+          - dps_val: white
+            value: "off"
           - dps_val: scene
             value: Scene
           - dps_val: music