Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
7fa6e8d056
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
       type: integer
       name: unlock_fingerprint
+      optional: true
     - id: 19
       type: integer
       name: unlock_app
+      optional: true
     - id: 54
       type: string
       name: sync_method
+      optional: true
 secondary_entities:
   - entity: sensor
     name: Battery