瀏覽代碼

Arlec smart button: button event should be optional

Will help with device detection for issue #3153
Jason Rumney 1 年之前
父節點
當前提交
d2ba5ac902
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/arlec_smart_button.yaml

+ 1 - 0
custom_components/tuya_local/devices/arlec_smart_button.yaml

@@ -10,6 +10,7 @@ entities:
       - id: 1
         type: string
         name: event
+        optional: true
         mapping:
           - dps_val: single_click
             value: single_click