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

Arlec smart button: button event should be optional

Will help with device detection for issue #3153
Jason Rumney 11 месяцев назад
Родитель
Сommit
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