فهرست منبع

Orion BLE lock: mark more dps as optional

Basically only the secondary entities (battery level, auto-lock setting) are
being reported, none of the lock feedback (which I guess only comes when the lock is unlocked).

Issue #654
Jason Rumney 2 سال پیش
والد
کامیت
7fa6e8d056
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      custom_components/tuya_local/devices/ble_orion_lock.yaml

+ 3 - 0
custom_components/tuya_local/devices/ble_orion_lock.yaml

@@ -16,12 +16,15 @@ primary_entity:
     - id: 12
     - id: 12
       type: integer
       type: integer
       name: unlock_fingerprint
       name: unlock_fingerprint
+      optional: true
     - id: 19
     - id: 19
       type: integer
       type: integer
       name: unlock_app
       name: unlock_app
+      optional: true
     - id: 54
     - id: 54
       type: string
       type: string
       name: sync_method
       name: sync_method
+      optional: true
 secondary_entities:
 secondary_entities:
   - entity: sensor
   - entity: sensor
     name: Battery
     name: Battery