Преглед на файлове

Bstuoky keypad: make doorbell optional

Since this is a button/event, it makes sense that it would not always be sent
by the device.

Issue #1152
Jason Rumney преди 2 години
родител
ревизия
2512511a87
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      custom_components/tuya_local/devices/bstuokey_access_keypad.yaml

+ 2 - 0
custom_components/tuya_local/devices/bstuokey_access_keypad.yaml

@@ -112,6 +112,7 @@ secondary_entities:
       - id: 101
         type: boolean
         name: event
+        optional: true
         mapping:
           - dps_val: true
             value: ring
@@ -125,6 +126,7 @@ secondary_entities:
       - id: 101
         type: boolean
         name: sensor
+        optional: true
   - entity: switch
     name: Beep on error
     category: config