فهرست منبع

fix(comon_lights): allow effect to be switched off

Jason Rumney 19 ساعت پیش
والد
کامیت
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
         type: string
         name: effect
         name: effect
         mapping:
         mapping:
+          - dps_val: white
+            value: "off"
           - dps_val: scene
           - dps_val: scene
             value: Scene
             value: Scene
           - dps_val: music
           - dps_val: music