Browse Source

Arlec smart button: button event should be optional

Will help with device detection for issue #3153
Jason Rumney 1 year ago
parent
commit
d2ba5ac902
1 changed files with 1 additions and 0 deletions
  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