Explorar o código

fix(comon_lights): allow effect to be switched off

Jason Rumney hai 3 meses
pai
achega
32d420d81a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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